libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit ed729e677f5052bf33358ff169615ef9c99ed006
parent d2a40e1dad60d71d4ffe77649517fdc6b5fe877c
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Sat, 23 Aug 2025 23:54:28 +0200

mhd_sys_options.h: improved some function parameters macros

Diffstat:
Msrc/incl_priv/mhd_sys_options.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/incl_priv/mhd_sys_options.h b/src/incl_priv/mhd_sys_options.h @@ -235,13 +235,13 @@ #endif #ifdef HAVE_FUNC_PARAM_ARR_STATIC_FIXED -# define MHD_FN_PAR_FIX_ARR_SIZE_(size) static size +# define MHD_FN_PAR_FIX_ARR_SIZE_(size) static (size) #else # define MHD_FN_PAR_FIX_ARR_SIZE_(size) size #endif #ifdef HAVE_FUNC_PARAM_ARR_STATIC_VAR -# define MHD_FN_PAR_DYN_ARR_SIZE_(size) static size +# define MHD_FN_PAR_DYN_ARR_SIZE_(size) static (size) #else # define MHD_FN_PAR_DYN_ARR_SIZE_(size) 1 #endif