diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 6735f642..166e9b47 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -109,6 +109,7 @@ extern "C" | |||
109 | #ifndef MHD_PLATFORM_H | 109 | #ifndef MHD_PLATFORM_H |
110 | #if defined(_WIN32) && ! defined(__CYGWIN__) && \ | 110 | #if defined(_WIN32) && ! defined(__CYGWIN__) && \ |
111 | ! defined(_CRT_DECLARE_NONSTDC_NAMES) | 111 | ! defined(_CRT_DECLARE_NONSTDC_NAMES) |
112 | /* Declare POSIX-compatible names */ | ||
112 | #define _CRT_DECLARE_NONSTDC_NAMES 1 | 113 | #define _CRT_DECLARE_NONSTDC_NAMES 1 |
113 | #endif /* _WIN32 && ! __CYGWIN__ && ! _CRT_DECLARE_NONSTDC_NAMES */ | 114 | #endif /* _WIN32 && ! __CYGWIN__ && ! _CRT_DECLARE_NONSTDC_NAMES */ |
114 | #include <stdarg.h> | 115 | #include <stdarg.h> |
@@ -119,8 +120,6 @@ extern "C" | |||
119 | #include <sys/time.h> | 120 | #include <sys/time.h> |
120 | #include <sys/socket.h> | 121 | #include <sys/socket.h> |
121 | #else /* _WIN32 && ! __CYGWIN__ */ | 122 | #else /* _WIN32 && ! __CYGWIN__ */ |
122 | /* Declare POSIX-compatible names */ | ||
123 | #define _CRT_DECLARE_NONSTDC_NAMES 1 | ||
124 | #include <ws2tcpip.h> | 123 | #include <ws2tcpip.h> |
125 | #if defined(_MSC_FULL_VER) && ! defined (_SSIZE_T_DEFINED) | 124 | #if defined(_MSC_FULL_VER) && ! defined (_SSIZE_T_DEFINED) |
126 | #define _SSIZE_T_DEFINED | 125 | #define _SSIZE_T_DEFINED |