#define strcasecmp stricmp
#define strncasecmp strnicmp
#define strdup _strdup
+#define vsnprintf _vsnprintf
+#define vsprintf _vsprintf
+#define sleep _sleep
/* define type for caddr_t */
typedef char * caddr_t;
+/* we have NT threads */
+#define HAVE_NT_THREADS 1
+
/* we have spawnlp instead of fork/execlp */
#define HAVE_SPAWNLP 1
/* we have <conio.h> */
#define HAVE_CONIO_H 1
+/* we have <direct.h> */
+#define HAVE_DIRECT_H 1
+
/* we have <io.h> */
#define HAVE_IO_H 1
/* we have <process.h> */
#define HAVE_PROCESS_H 1
+#define LDAP_SIGUSR1 SIGILL
+#define LDAP_SIGUSR2 SIGTERM
+
+#define MAXPATHLEN _MAX_PATH
+
/* end of MSVC5 specific entries */
/* --------------------------------------------------- */
/* #undef REENTRANT */
#endif
#ifndef _REENTRANT
-#undef _REENTRANT
+/* #undef _REENTRANT */
#endif
/* define this if needed to get threadsafe functions */
/* #undef THREAD_SAFE */
#endif
#ifndef _THREAD_SAFE
-/* #undef _THREAD_SAFE *
+/* #undef _THREAD_SAFE */
#endif
/* define this if toupper() requires tolower() */
-#define C_UPPER_LOWER
+#define C_UPPER_LOWER 1
/* define this to the number of arguments ctime_r() expects */
/* #undef CTIME_R_NARGS */
/* #undef HAVE_BERKELEY_DB */
/* define if you have berkeley db2 */
-/* #undef HAVE_BERKELEY_DB2 */
+#define HAVE_BERKELEY_DB2 1
/* define if you have crypt */
/* #undef HAVE_CRYPT */
#endif
/* define if you have setproctitle() */
-#undef HAVE_SETPROCTITLE
+/* #undef HAVE_SETPROCTITLE */
/* define this for connectionless LDAP support */
/* #undef LDAP_CONNECTIONLESS */
/* #undef LDAP_SYSLOG */
/* define this to use DBBTREE w/ LDBM backend */
-/* #undef LDBM_USE_DBBTREE */
+#define LDBM_USE_DBBTREE 1
/* define this to use DBHASH w/ LDBM backend */
/* #undef LDBM_USE_DBHASH */
/* define this for ACL Group support */
-/* #undef SLAPD_ACLGROUPS */
+#define SLAPD_ACLGROUPS 1
/* define this to use SLAPD Berkeley DB2 backend */
-/* #undef SLAPD_BDB2 */
+#define SLAPD_BDB2 1
/* define this for ClearText password support */
-/* #undef SLAPD_CLEARTEXT */
+#define SLAPD_CLEARTEXT 1
/* define this for crypt(3) password support */
/* #undef SLAPD_CRYPT */
/* define this to use SLAPD LDBM backend */
-/* #undef SLAPD_LDBM */
+/* #define SLAPD_LDBM 1 */
/* define this to use SLAPD passwd backend */
/* #undef SLAPD_PASSWD */
/* #undef HAVE_THR_YIELD */
/* Define if you have the vsnprintf function. */
-/* #undef HAVE_VSNPRINTF */
+#define HAVE_VSNPRINTF 1
/* Define if you have the vsprintf function. */
-/* #undef HAVE_VSPRINTF */
+#define HAVE_VSPRINTF 1
/* Define if you have the waitpid function. */
#define HAVE_WAITPID 1
/* #undef HAVE_CRYPT_H */
/* Define if you have the <db.h> header file. */
-/* #undef HAVE_DB_H */
+#define HAVE_DB_H 1
/* Define if you have the <db_185.h> header file. */
/* #undef HAVE_DB_185_H */
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
-/* define if you have -lxttp */
+/* define if you have -lxtpp */
/* #undef HAVE_XTPP */
/* define if you have -ldsap */
/* #undef CROSS_COMPILING */
/* begin of postamble */
-
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
#include "ldap_cdefs.h"
#include "ldap_features.h"
-
#endif /* _LDAP_PORTABLE_H */