From 5cb35c282762c4c1f1e144205dda0729588740cf Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 4 Jun 1999 22:23:52 +0000 Subject: [PATCH] Add #define FD_SETSIZE 1024 --- include/portable.h.nt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/portable.h.nt b/include/portable.h.nt index 6c97807072..00302646ae 100644 --- a/include/portable.h.nt +++ b/include/portable.h.nt @@ -24,6 +24,7 @@ #define DIRSEP "\\" #if defined( _DEBUG ) && !defined( LDAP_DEBUG ) +#define LDAP_MEMORY_DEBUG 1 #define LDAP_DEBUG 1 #endif @@ -52,6 +53,8 @@ typedef char * caddr_t; #define openlog( a, b ) #define closelog() +#define FD_SETSIZE 1024 + /* we have NT threads */ #ifdef _MT #define HAVE_NT_THREADS 1 @@ -226,7 +229,7 @@ typedef char * caddr_t; /* #undef LDAP_CONNECTIONLESS */ /* define this to add debugging code */ -#define LDAP_DEBUG 1 +/* #undef LDAP_DEBUG */ /* define this to remove -lldap cache support */ /* #undef LDAP_NOCACHE */ @@ -712,6 +715,7 @@ typedef char * caddr_t; #ifdef HAVE_STDDEF_H # include #endif +#include #if defined(LDAP_DEVEL) && !defined(LDAP_TEST) #define LDAP_TEST @@ -723,6 +727,4 @@ typedef char * caddr_t; #include "ldap_cdefs.h" #include "ldap_features.h" -#include - #endif /* _LDAP_PORTABLE_H */ -- 2.39.5