projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-work around MHD_USE_TLS not being in old MHD versions
[oweals/gnunet.git]
/
src
/
include
/
gnunet_common.h
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index dcd0c605685697ebbd7e8054ba7d3b363c7a7ddb..4a5051c531a4d5427810266aa82001fd4794f600 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-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: