commit e8ec8b6833a796951ee79f64c933d9a14baad5f0
parent 116b061dea48996ca6bbbe44474c8598b04331ad
Author: Evgeny Grin <k2k@drgrin.dev>
Date: Wed, 30 Apr 2025 19:39:26 +0300
microhttpd2_portability.h: fixed macro check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/microhttpd2_portability.h b/src/include/microhttpd2_portability.h
@@ -772,7 +772,7 @@
/* Override detected value of MHD_FN_PAR_DYN_ARR_SIZE_() by defining it
* before including the header */
#ifndef MHD_FN_PAR_DYN_ARR_SIZE_
-# if MHD_USE_VLA_TYPES
+# ifdef MHD_USE_VLA_TYPES
# define MHD_FN_PAR_DYN_ARR_SIZE_(size) static size
# else
# define MHD_FN_PAR_DYN_ARR_SIZE_(size) 1