]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.nt
Removed unnecessary definition that is already in core.schema.
[openldap] / include / portable.h.nt
index 4236fa4a67745d5bd83122e7725dad65a5d46fcc..c0044b82d6079d876e8fa2b00578f27b89b868e9 100644 (file)
 /* --------------------------------------------------- */
 /* begin of MSVC5 specific entries */
 
+#define OPENLDAP_PACKAGE "OpenLDAP"
+#define OPENLDAP_VERSION "-devel"
+#define EXEEXT ".exe"
+#define DIRSEP "\\"
+
+#if defined( _DEBUG ) && !defined( LDAP_DEBUG )
+#define LDAP_MEMORY_DEBUG 1
+#define LDAP_DEBUG 1
+#endif
+
 /* MSVC5 doesn't define _STDC_ but supports _STDC_ features */
 #define __NEED_PROTOTYPES 1
 #define HAVE_STDARG 1
 
 #define        snprintf        _snprintf
 #define vsnprintf      _vsnprintf
-#define vsprintf       _vsprintf
-
+/* #define vsprintf    _vsprintf */
 
 /* define type for caddr_t */
 typedef char * caddr_t;
 
 #define LOG_DEBUG 0
 #define openlog( a, b )
+#define closelog()
+
+#define FD_SETSIZE 1024
 
 /* we have NT threads */
+#ifdef _MT
 #define HAVE_NT_THREADS 1
+#else
+#define NO_THREADS 1
+#endif
 
 /* we have spawnlp instead of fork/execlp */
 #define HAVE_SPAWNLP 1
@@ -213,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 */
@@ -245,6 +261,9 @@ typedef char * caddr_t;
 /* define this for crypt(3) password support */
 /* #undef SLAPD_CRYPT */
 
+/* define this to use SLAPD LDAP backend */
+/* #undef SLAPD_LDAP */
+
 /* define this to use SLAPD LDBM backend */
 #define SLAPD_LDBM 1
 
@@ -707,6 +726,6 @@ typedef char * caddr_t;
 #include "ldap_cdefs.h"
 #include "ldap_features.h"
 
-#include "ac/assert.h"
+#include <ac/assert.h>
 
 #endif /* _LDAP_PORTABLE_H */