[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 35/156: mhd_assert: use "DEBUG" macro defined by some to
From: |
gnunet |
Subject: |
[libmicrohttpd] 35/156: mhd_assert: use "DEBUG" macro defined by some toolchains |
Date: |
Sun, 28 May 2023 17:51:28 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.
commit d05e6b9e1a7777002d326e4c222a61bfa823528e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Oct 11 08:36:35 2022 +0300
mhd_assert: use "DEBUG" macro defined by some toolchains
---
src/microhttpd/mhd_assert.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/microhttpd/mhd_assert.h b/src/microhttpd/mhd_assert.h
index 9513f12e..b24ce93d 100644
--- a/src/microhttpd/mhd_assert.h
+++ b/src/microhttpd/mhd_assert.h
@@ -32,7 +32,11 @@
#include "mhd_options.h"
#if ! defined(_DEBUG) && ! defined(NDEBUG)
+#ifndef DEBUG /* Used by some toolchains */
#define NDEBUG 1 /* Use NDEBUG by default */
+#else /* DEBUG */
+#define _DEBUG 1
+#endif /* DEBUG */
#endif /* !_DEBUG && !NDEBUG */
#if defined(_DEBUG) && defined(NDEBUG)
#error Both _DEBUG and NDEBUG are defined
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 14/156: Makefile: fixed *.crt files names for dist target, (continued)
- [libmicrohttpd] 14/156: Makefile: fixed *.crt files names for dist target, gnunet, 2023/05/28
- [libmicrohttpd] 17/156: src/examples: fixed printf format specifiers, gnunet, 2023/05/28
- [libmicrohttpd] 19/156: thread-per-connection: do not cache connection timeout, gnunet, 2023/05/28
- [libmicrohttpd] 25/156: Fixed 'int' instead of 'MHD_Result', gnunet, 2023/05/28
- [libmicrohttpd] 24/156: daemon.c: fixed possible uninitialized value, gnunet, 2023/05/28
- [libmicrohttpd] 28/156: websocket_threaded_example: minor fixes, gnunet, 2023/05/28
- [libmicrohttpd] 37/156: testcurl: fixed checking response headers as null-terminated string, gnunet, 2023/05/28
- [libmicrohttpd] 34/156: daemon: fixed delayed notification callback in thread-per-connection mode, gnunet, 2023/05/28
- [libmicrohttpd] 38/156: test_upgrade{,_large}: fixed HTTP/1.1 compatibility, gnunet, 2023/05/28
- [libmicrohttpd] 42/156: configure: try to detect whether eventfd is enabled, gnunet, 2023/05/28
- [libmicrohttpd] 35/156: mhd_assert: use "DEBUG" macro defined by some toolchains,
gnunet <=
- [libmicrohttpd] 33/156: mhd_str: fixed compiler warning for compact code, gnunet, 2023/05/28
- [libmicrohttpd] 26/156: Fixed very rare data races when closing upgraded connection, gnunet, 2023/05/28
- [libmicrohttpd] 30/156: configure: fixed underquoting, typos, wording, gnunet, 2023/05/28
- [libmicrohttpd] 32/156: configure: fixed typos in messages, gnunet, 2023/05/28
- [libmicrohttpd] 23/156: Fixed wrong variable type used for result of gnutls_priority_init(), gnunet, 2023/05/28
- [libmicrohttpd] 41/156: configure: used better detection of some functions when cross-compiling, gnunet, 2023/05/28
- [libmicrohttpd] 27/156: test_http_reasons: fixed compiler warnings, gnunet, 2023/05/28
- [libmicrohttpd] 29/156: Remove double adding of MHD_HTTP_HEADER_CONNECTION response header, gnunet, 2023/05/28
- [libmicrohttpd] 31/156: connection: skip no-op calling of body generation functions when response body is not used, gnunet, 2023/05/28
- [libmicrohttpd] 43/156: -typo, gnunet, 2023/05/28