This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".

The branch, u2_10_12_branch has been updated
       via  9b0b80f632c95f55200b92427319394c43fefc4d (commit)
      from  7e9ec9de603e6a01bec219042927fe28d55890d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9b0b80f632c95f55200b92427319394c43fefc4d
Author: Michael Poole <[email protected]>
Date:   Tue Aug 13 09:30:28 2024 -0700

    engine_select: Fix for Mac OS
    
    The default FD_SETSIZE is 1024, so bump it here.
    clang (from Apple) and gcc-14 (from Homebrew) define both __APPLE__ and 
__MACH__,
    but nothing else relevant.  Currently there are no non-Mach/non-Darwin 
Apple OSes, so just
    check __APPLE__.

diff --git a/ircd/engine_select.c b/ircd/engine_select.c
index cd6529e4..58cbd9c8 100644
--- a/ircd/engine_select.c
+++ b/ircd/engine_select.c
@@ -22,8 +22,8 @@
  */
 #include "config.h"
 
-/* On BSD, define FD_SETSIZE to what we want before including sys/types.h */
-#if  defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__)
+/* On BSD and Mac OS, define FD_SETSIZE to what we want before including 
sys/types.h */
+#if  defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || 
defined(__APPLE__)
 # if !defined(FD_SETSIZE)
 #  define FD_SETSIZE ((MAXCONNECTIONS)+4)
 # endif
-----------------------------------------------------------------------

Summary of changes:
 ircd/engine_select.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Undernet IRC Server Source Code.

To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

Reply via email to