]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.nt
Update configure to:
[openldap] / include / portable.h.nt
index 47e4808771ba2544a5bdaefed6d498d7b3c4468a..ed185606fc3e9cdcd8ab27c0a119bb81d9ae7806 100644 (file)
 #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
 
@@ -45,12 +51,20 @@ typedef char * caddr_t;
 /* 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 */
 /* --------------------------------------------------- */
 
@@ -132,7 +146,7 @@ typedef char * caddr_t;
 /* #undef REENTRANT */
 #endif
 #ifndef _REENTRANT
-#undef _REENTRANT
+/* #undef _REENTRANT */
 #endif
 
 /* define this if needed to get threadsafe functions */
@@ -146,11 +160,11 @@ typedef char * caddr_t;
 /* #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 */
@@ -162,7 +176,7 @@ typedef char * caddr_t;
 /* #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 */
@@ -186,7 +200,7 @@ typedef char * caddr_t;
 #endif
 
 /* define if you have setproctitle() */
-#undef HAVE_SETPROCTITLE
+/* #undef HAVE_SETPROCTITLE */
 
 /* define this for connectionless LDAP support */
 /* #undef LDAP_CONNECTIONLESS */
@@ -207,25 +221,25 @@ typedef char * caddr_t;
 /* #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 */
@@ -395,10 +409,10 @@ typedef char * caddr_t;
 /* #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
@@ -410,7 +424,7 @@ typedef char * caddr_t;
 /* #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 */
@@ -598,7 +612,7 @@ typedef char * caddr_t;
 /* 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 */
@@ -671,12 +685,10 @@ typedef char * caddr_t;
 /* #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 */