]> git.sur5r.net Git - openldap/blobdiff - include/ldap_config.h.in
fix formatting
[openldap] / include / ldap_config.h.in
index 82b5d870202853533a5eb78462f90788827f9b09..b0167e24b2da974ee4374d96c5579d63e05064ca 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
 #endif
 #endif
 
+/* directory for temporary files */
+#if defined( _P_tmpdir )
+# define LDAP_TMPDIR _P_tmpdir
+#elif defined( P_tmpdir )
+# define LDAP_TMPDIR P_tmpdir
+#elif defined( _PATH_TMPDIR )
+# define LDAP_TMPDIR _PATH_TMPDIR
+#else
+# define LDAP_TMPDIR LDAP_DIRSEP "tmp"
+#endif
+
 /* directories */
 #ifndef LDAP_BINDIR
 #define LDAP_BINDIR                    "%BINDIR%"