X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fldap_config.h.in;h=b0167e24b2da974ee4374d96c5579d63e05064ca;hb=ef1d8662f00480729bc69e1fcd8ff4a27eca99a3;hp=a7d0f01cb9b1330ddd29b910572041b98009d8fe;hpb=bd36de108fd8b44ec751581efbef600b6d13c7d6;p=openldap diff --git a/include/ldap_config.h.in b/include/ldap_config.h.in index a7d0f01cb9..b0167e24b2 100644 --- a/include/ldap_config.h.in +++ b/include/ldap_config.h.in @@ -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 @@ -19,7 +19,22 @@ /* directory separator */ #ifndef LDAP_DIRSEP +#ifndef _WIN32 #define LDAP_DIRSEP "/" +#else +#define LDAP_DIRSEP "\\" +#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 */