[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: compat with older MHD versions
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: compat with older MHD versions |
Date: |
Tue, 27 Aug 2024 01:09:22 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 9201af1f4 compat with older MHD versions
9201af1f4 is described below
commit 9201af1f487ce8eb190d1d9d9f191b38a9d74ed5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Aug 27 01:09:19 2024 +0200
compat with older MHD versions
---
configure.ac | 1 -
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.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: compat with older MHD versions,
gnunet <=