]> git.sur5r.net Git - openldap/blobdiff - include/ldap_config.h.in
Only set URANDOM_DEVICE if undefined
[openldap] / include / ldap_config.h.in
index 59b5c673f36bb72c51651fd32c672b079d8d72eb..b0167e24b2da974ee4374d96c5579d63e05064ca 100644 (file)
 
 /* directory for temporary files */
 #if defined( _P_tmpdir )
-#define LDAP_TMPDIR _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"
+# define LDAP_TMPDIR LDAP_DIRSEP "tmp"
 #endif
 
 /* directories */