diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/include/taler_util.h | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 77bee8b73..9e5717c87 100644 --- a/configure.ac +++ b/configure.ac @@ -231,7 +231,6 @@ AS_IF([test "x$curl" = x1],[ [curl=0]) ]) - # libcurl should be mutually exclusive AS_IF([test "$curl" = 1], AM_CONDITIONAL(HAVE_LIBCURL, true) diff --git a/src/include/taler_util.h b/src/include/taler_util.h index f2121f9cb..a74aaa771 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -32,11 +32,18 @@ #include "taler_amount_lib.h" #include "taler_crypto_lib.h" +#if MHD_VERSION < 0x00097701 +#define MHD_create_response_from_buffer_static (s,b) \ + MHD_create_response_from_buffer (s, \ + (const char *) b, \ + MHD_RESPMEM_PERSISTENT) +#endif + /** * Version of the Taler API, in hex. * Thus 0.8.4-1 = 0x00080401. */ -#define TALER_API_VERSION 0x00090401 +#define TALER_API_VERSION 0x000D0000 /** * Stringify operator. |