aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-03 18:41:19 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-03 18:41:19 +0100
commita580ac1c42a5dc11d9706c507dc7c8848009d3ae (patch)
tree71e586ef037b4099ef96d1162f1b9de50579bce8
parent9114ff8c7349bd578188803bf75cd7be6b074335 (diff)
disable MHD deprecation warnings as we want to be compatible to older releases that simply have not the new symbols (fixing #4845)
-rw-r--r--src/include/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 0757227f0..607bd7361 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -51,6 +51,11 @@
/* Do not use deprecated functions from gcrypt */
#define GCRYPT_NO_DEPRECATED 1
+/* Ignore MHD deprecations for now as we want to be compatible
+ to "ancient" MHD releases. */
+#define MHD_NO_DEPRECATION 1
+
+
#endif /* PLATFORM_H_ */
/* end of platform.h */