commit 15defda520c84c69d1f108a0a28ea12cd7c1d0af
parent 98e6bb987f22f04238c8a4c1f85ff4ab9aa0673c
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 3 Jan 2017 18:41:41 +0100
disable MHD deprecation warnings as we want to be compatible to older releases that simply have not the new symbols (fixing #4845)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/include/platform.h b/src/include/platform.h
@@ -51,6 +51,10 @@
/* 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 */