commit e0154806a59cc0283ae7afd9f16b2b3f154c77c3
parent 36189df21ed32c49da8ef684a2655c6e63870deb
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Tue, 16 Dec 2025 15:59:50 +0100
OpenSSL backend: unified compilers warning mutes
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mhd2/tls_open_funcs.c b/src/mhd2/tls_open_funcs.c
@@ -74,9 +74,10 @@
#include "daemon_logger.h"
+#include "microhttpd2_portability.h"
#include "mhd_public_api.h"
-#if defined(HAVE_WUSED_BUT_MARKED_UNUSED) && defined(__GNUC__)
+#if defined(HAVE_WUSED_BUT_MARKED_UNUSED) && defined(MHD_WARN_IGNORE_GCC_STYLE)
# define mhd_NOWARN_USED_UNUSED \
MHD_WARN_PUSH_ MHD_WARN_IGNORE_ ("-Wused-but-marked-unused")
# define mhd_RESTORE_WARN_USED_UNUSED MHD_WARN_POP_