From: Kurt Zeilenga Date: Wed, 17 Nov 2004 04:07:14 +0000 (+0000) Subject: Set OPENLDAP_FD_SETSIZE to 4096 (if not defined) X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~292 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afffdeec68d907bf5606c51ca99701a882f9ca8a;p=openldap Set OPENLDAP_FD_SETSIZE to 4096 (if not defined) --- diff --git a/include/ac/fdset.h b/include/ac/fdset.h index 994828e40f..e0a8980c14 100644 --- a/include/ac/fdset.h +++ b/include/ac/fdset.h @@ -22,6 +22,10 @@ #ifndef _AC_FDSET_H #define _AC_FDSET_H +#if !defined( OPENLDAP_FD_SETSIZE ) && !defined( FD_SETSIZE ) +# define OPENLDAP_FD_SETSIZE 4096 +#endif + #ifdef OPENLDAP_FD_SETSIZE /* assume installer desires to enlarge fd_set */ # ifdef HAVE_BITS_TYPES_H