summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-03 18:41:41 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-03 18:41:41 +0100
commit15defda520c84c69d1f108a0a28ea12cd7c1d0af (patch)
treeade1bc7cc90e9e36c9f1ca5b1ebcca2e2accc885 /src/include
parent98e6bb987f22f04238c8a4c1f85ff4ab9aa0673c (diff)
downloadmerchant-15defda520c84c69d1f108a0a28ea12cd7c1d0af.tar.gz
merchant-15defda520c84c69d1f108a0a28ea12cd7c1d0af.tar.bz2
merchant-15defda520c84c69d1f108a0a28ea12cd7c1d0af.zip
disable MHD deprecation warnings as we want to be compatible to older releases that simply have not the new symbols (fixing #4845)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index de9ebe35..a2ed6f4c 100644
--- 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 */