diff --git a/include/ldap_config.h.in b/include/ldap_config.h.in index a7d0f01cb9..82b5d87020 100644 --- a/include/ldap_config.h.in +++ b/include/ldap_config.h.in @@ -19,7 +19,11 @@ /* directory separator */ #ifndef LDAP_DIRSEP +#ifndef _WIN32 #define LDAP_DIRSEP "/" +#else +#define LDAP_DIRSEP "\\" +#endif #endif /* directories */