libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 3e6783001198fe51f31a1acbc525f4af62f56540
parent e544cf36300563fc4ed790b80a80b52669529bbb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon, 30 Aug 2021 17:21:55 +0300

microhttpd.h: removed duplicated macro

Diffstat:
Msrc/include/microhttpd.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -109,6 +109,7 @@ extern "C" #ifndef MHD_PLATFORM_H #if defined(_WIN32) && ! defined(__CYGWIN__) && \ ! defined(_CRT_DECLARE_NONSTDC_NAMES) +/* Declare POSIX-compatible names */ #define _CRT_DECLARE_NONSTDC_NAMES 1 #endif /* _WIN32 && ! __CYGWIN__ && ! _CRT_DECLARE_NONSTDC_NAMES */ #include <stdarg.h> @@ -119,8 +120,6 @@ extern "C" #include <sys/time.h> #include <sys/socket.h> #else /* _WIN32 && ! __CYGWIN__ */ -/* Declare POSIX-compatible names */ -#define _CRT_DECLARE_NONSTDC_NAMES 1 #include <ws2tcpip.h> #if defined(_MSC_FULL_VER) && ! defined (_SSIZE_T_DEFINED) #define _SSIZE_T_DEFINED