commit eb9ec7fda1e30c21fdcb64ee986554e9e5c4eeeb
parent 0b5ccc723aa5a6cffb921966059abb44472a3d47
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 1 Feb 2024 14:37:18 +0100
W32 VS: simplified custom MHD_config.h
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/w32/common/MHD_config.h b/w32/common/MHD_config.h
@@ -109,8 +109,10 @@
/* Define to 1 if your system allow overriding the value of FD_SETSIZE macro */
#define HAS_FD_SETSIZE_OVERRIDABLE 1
+#if 0 /* Do not define the macro to keep maintability simple if system value is updated */
/* Define to system default value of FD_SETSIZE macro */
-#define MHD_SYS_FD_SETSIZE_ 64
+# define MHD_SYS_FD_SETSIZE_ 64
+#endif
/* Define to use socketpair for inter-thread communication */
#define _MHD_ITC_SOCKETPAIR 1