aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/microhttpd2.h5
1 files changed, 4 insertions, 1 deletions
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;
274 * Macro to indicate that certain parameters must be 274 * Macro to indicate that certain parameters must be
275 * non-null. Todo: port to non-gcc platforms. 275 * non-null. Todo: port to non-gcc platforms.
276 */ 276 */
277#if defined(__CYGWIN__) || defined(_WIN32) || defined(MHD_W32LIB)
278#define MHD_NONNULL(...) /* empty */
279#else
277#define MHD_NONNULL(...) __THROW __nonnull((__VA_ARGS__)) 280#define MHD_NONNULL(...) __THROW __nonnull((__VA_ARGS__))
278 281#endif
279 282
280/** 283/**
281 * Not all architectures and `printf()`'s support the `long long` type. 284 * Not all architectures and `printf()`'s support the `long long` type.