From 9c0e4415d230150b59e9b14910b085d88495a5d7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 13 Apr 2005 07:27:36 +0000 Subject: [PATCH] Omit FD_SETSIZE check for Winsock --- libraries/libldap/os-ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5