From: Howard Chu Date: Wed, 13 Apr 2005 07:27:36 +0000 (+0000) Subject: Omit FD_SETSIZE check for Winsock X-Git-Tag: OPENLDAP_AC_BP~898 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c0e4415d230150b59e9b14910b085d88495a5d7;p=openldap Omit FD_SETSIZE check for Winsock --- diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index e8e0c1eb07..407f5ebad2 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -283,7 +283,7 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s, fd_set efds; #endif -#ifdef FD_SETSIZE +#if defined( FD_SETSIZE ) && !defined( HAVE_WINSOCK ) if ( s >= FD_SETSIZE ) { rc = AC_SOCKET_ERROR; tcp_close( s );