From a580ac1c42a5dc11d9706c507dc7c8848009d3ae Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Jan 2017 18:41:19 +0100 Subject: disable MHD deprecation warnings as we want to be compatible to older releases that simply have not the new symbols (fixing #4845) --- src/include/platform.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include') 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 */ -- cgit v1.2.3