diff options
-rw-r--r-- | crypto/compat/posix_win.c | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | include/compat/pthread.h | 0 | ||||
-rw-r--r-- | include/compat/stdio.h | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c index b3a4687..c7cf6af 100644 --- a/crypto/compat/posix_win.c +++ b/crypto/compat/posix_win.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | #define NO_REDEF_POSIX_FUNCTIONS | 10 | #define NO_REDEF_POSIX_FUNCTIONS |
11 | 11 | ||
12 | #include <windows.h> | ||
13 | #include <ws2tcpip.h> | 12 | #include <ws2tcpip.h> |
13 | #include <windows.h> | ||
14 | 14 | ||
15 | #include <errno.h> | 15 | #include <errno.h> |
16 | #include <fcntl.h> | 16 | #include <fcntl.h> |
diff --git a/include/compat/pthread.h b/include/compat/pthread.h index 1ab011c..1ab011c 100755..100644 --- a/include/compat/pthread.h +++ b/include/compat/pthread.h | |||
diff --git a/include/compat/stdio.h b/include/compat/stdio.h index d5725c9..1874aa5 100644 --- a/include/compat/stdio.h +++ b/include/compat/stdio.h | |||
@@ -42,7 +42,7 @@ int posix_rename(const char *oldpath, const char *newpath); | |||
42 | #define rename(oldpath, newpath) posix_rename(oldpath, newpath) | 42 | #define rename(oldpath, newpath) posix_rename(oldpath, newpath) |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #ifdef _MSC_VER | 45 | #if defined(_MSC_VER) && _MSC_VER < 1900 |
46 | #define snprintf _snprintf | 46 | #define snprintf _snprintf |
47 | #endif | 47 | #endif |
48 | 48 | ||