From dc4bbb0c82373a8b8dca70210392ba804ee62d3d Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 15 Nov 2023 15:22:43 +0300 Subject: [PATCH] Additional corrections for MHD_OPTION_APP_FD_SETSIZE --- src/microhttpd/daemon.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index b2420ca8..8d39c7ac 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -7382,7 +7382,6 @@ process_interim_params (struct MHD_Daemon *d, } else { /* The daemon without internal threads, external sockets polling */ -#ifdef MHD_POSIX_SOCKETS #ifndef HAS_FD_SETSIZE_OVERRIDABLE if (((int) FD_SETSIZE) != params->fdset_size) { @@ -7399,7 +7398,6 @@ process_interim_params (struct MHD_Daemon *d, d->fdset_size = params->fdset_size; d->fdset_size_set_by_app = true; #endif /* HAS_FD_SETSIZE_OVERRIDABLE */ -#endif /* MHD_POSIX_SOCKETS */ } }