gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/08: mhd_sockets.h: directly used detected system FD_S


From: gnunet
Subject: [libmicrohttpd] 02/08: mhd_sockets.h: directly used detected system FD_SETSIZE
Date: Tue, 07 Nov 2023 18:52:11 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 0813a8b2a0d4341387ba15bababe3c32c808c4de
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Nov 7 18:35:41 2023 +0300

    mhd_sockets.h: directly used detected system FD_SETSIZE
---
 src/microhttpd/mhd_sockets.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index fede77dc..25f67fc1 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -135,8 +135,12 @@ typedef intptr_t ssize_t;
 #ifdef _MHD_FD_SETSIZE_IS_DEFAULT
 #  define _MHD_SYS_DEFAULT_FD_SETSIZE FD_SETSIZE
 #else  /* ! _MHD_FD_SETSIZE_IS_DEFAULT */
-#  include "sysfdsetsize.h"
-#  define _MHD_SYS_DEFAULT_FD_SETSIZE get_system_fdsetsize_value ()
+#  ifndef MHD_SYS_FD_SETSIZE_
+#    include "sysfdsetsize.h"
+#    define _MHD_SYS_DEFAULT_FD_SETSIZE get_system_fdsetsize_value ()
+#  else  /* MHD_SYS_FD_SETSIZE_ */
+#    define _MHD_SYS_DEFAULT_FD_SETSIZE MHD_SYS_FD_SETSIZE_
+#  endif /* MHD_SYS_FD_SETSIZE_ */
 #endif /* ! _MHD_FD_SETSIZE_IS_DEFAULT */
 
 #ifndef MHD_PANIC

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]