gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/03: microhttpd.h: removed duplicated macro


From: gnunet
Subject: [libmicrohttpd] 01/03: microhttpd.h: removed duplicated macro
Date: Mon, 30 Aug 2021 19:51:19 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

    microhttpd.h: removed duplicated macro
---
 src/include/microhttpd.h | 3 +--
 1 file changed, 1 insertion(+), 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"
 #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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]