-work around MHD_USE_TLS not being in old MHD versions
authorChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2016 15:34:23 +0000 (15:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2016 15:34:23 +0000 (15:34 +0000)
src/include/gnunet_common.h

index dcd0c605685697ebbd7e8054ba7d3b363c7a7ddb..4a5051c531a4d5427810266aa82001fd4794f600 100644 (file)
@@ -68,6 +68,11 @@ extern "C"
  */
 #define GNUNET_UTIL_VERSION 0x000A0101
 
+/* support old MHD versions */
+#ifndef MHD_USE_TLS
+#define MHD_USE_TLS MHD_USE_SSL
+#endif
+
 
 /**
  * Named constants for return values.  The following invariants hold: