From 57f4a4b5bb50d91caf769b5675449a34a524e4a4 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 8 Apr 2024 16:14:07 +0200 Subject: [PATCH] microhttpd2.h: fixed macro which had strange parsing results --- src/include/microhttpd2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h index 7e324f88..9386c58a 100644 --- a/src/include/microhttpd2.h +++ b/src/include/microhttpd2.h @@ -524,8 +524,7 @@ typedef SOCKET MHD_socket; /* Use variable-length arrays? */ #if ! defined(MHD_NO_VLA) # if ! defined(MHD_USE_VLA) -# if MHD_C_MINV_99 && \ - (! defined(__STDC_NO_VLA__) || __STDC_NO_VLA__ + 0 != 0) +# if MHD_C_MINV_99 && (! defined(__STDC_NO_VLA__)) # if defined(__GNUC__) || defined(__clang__) # define MHD_USE_VLA 1 # elif defined(_MSC_VER)