diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-10-12 15:34:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-10-12 15:34:23 +0000 |
commit | 15c9fcd0f8110e515da3a34aaa6ac2778ff4cfb6 (patch) | |
tree | 59abe263615b9e808c04d617d2c00611044378b3 /src/include/gnunet_common.h | |
parent | cb8179ca554d2c6a361828dac8dd7d7d6820210f (diff) | |
download | gnunet-15c9fcd0f8110e515da3a34aaa6ac2778ff4cfb6.tar.gz gnunet-15c9fcd0f8110e515da3a34aaa6ac2778ff4cfb6.zip |
-work around MHD_USE_TLS not being in old MHD versions
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index dcd0c6056..4a5051c53 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -68,6 +68,11 @@ extern "C" | |||
68 | */ | 68 | */ |
69 | #define GNUNET_UTIL_VERSION 0x000A0101 | 69 | #define GNUNET_UTIL_VERSION 0x000A0101 |
70 | 70 | ||
71 | /* support old MHD versions */ | ||
72 | #ifndef MHD_USE_TLS | ||
73 | #define MHD_USE_TLS MHD_USE_SSL | ||
74 | #endif | ||
75 | |||
71 | 76 | ||
72 | /** | 77 | /** |
73 | * Named constants for return values. The following invariants hold: | 78 | * Named constants for return values. The following invariants hold: |