]> git.sur5r.net Git - openldap/blobdiff - include/ldap_config.h.in
Cleanup NT service support declarations
[openldap] / include / ldap_config.h.in
index 8cfc13fd7cabc6d69ffa0058f1b944e0ae0941b1..46d96036ea11e3e08eb8298a9d5b7cb65cd8d82a 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,9 @@
 #endif
 
 /* directory for temporary files */
-#if defined( _P_tmpdir )
+#if defined(_WIN32)
+# define LDAP_TMPDIR "C:\\."   /* we don't have much of a choice */
+#elif defined( _P_tmpdir )
 # define LDAP_TMPDIR _P_tmpdir
 #elif defined( P_tmpdir )
 # define LDAP_TMPDIR P_tmpdir
 #define LDAP_RUNDIR                    "%RUNDIR%"
 #endif
 
-/* command locations */
-#ifndef LDAP_EDITOR
-#define LDAP_EDITOR                    "%EDITOR%"
-#endif
-#ifndef LDAP_FINGER
-#define LDAP_FINGER                    "%FINGER%"
-#endif
-#ifndef LDAP_SENDMAIL
-#define LDAP_SENDMAIL          "%SENDMAIL%"
-#endif
-
 #endif /* _LDAP_CONFIG_H */