gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: do not use MHD_NONNU


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: do not use MHD_NONNULL on w32
Date: Sun, 04 Mar 2018 11:40:20 +0100

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new a7b25581 do not use MHD_NONNULL on w32
a7b25581 is described below

commit a7b255811e9d32d1f03f5f240d5818b180384607
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 4 11:40:08 2018 +0100

    do not use MHD_NONNULL on w32
---
 src/include/microhttpd2.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index 34a9a80a..063b2d98 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -274,8 +274,11 @@ typedef SOCKET MHD_socket;
  * Macro to indicate that certain parameters must be
  * non-null.  Todo: port to non-gcc platforms.
  */
+#if defined(__CYGWIN__) || defined(_WIN32) || defined(MHD_W32LIB)
+#define MHD_NONNULL(...) /* empty */
+#else
 #define MHD_NONNULL(...) __THROW __nonnull((__VA_ARGS__))
-
+#endif
 
 /**
  * Not all architectures and `printf()`'s support the `long long` type.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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