commit bb80be696b35627dbb03c7689ca1300979b7b702
parent 49942a4a3feffeeb592323959cfd0b42718548f1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 13 Sep 2023 17:11:28 +0300
daemon: unified check for debug macros
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -7264,12 +7264,12 @@ MHD_start_daemon_va (unsigned int flags,
|| (NULL != daemon->notify_connection)) )
*pflags |= MHD_USE_ITC; /* requires ITC */
-#ifndef NDEBUG
+#ifdef _DEBUG
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
_ ("Using debug build of libmicrohttpd.\n") );
#endif /* HAVE_MESSAGES */
-#endif /* ! NDEBUG */
+#endif /* _DEBUG */
if ( (0 != (*pflags & MHD_USE_ITC))
#if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS)