From 9b045fa734ff05a016f8eabf4647f02d237b1d55 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 6 May 2005 00:02:26 +0000 Subject: [PATCH] Fix for WIN32 mkdir --- servers/slapd/back-ldif/ldif.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 22ff945427..636ce7ee6b 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -46,6 +46,10 @@ struct ldif_info { ldap_pvt_thread_mutex_t li_mutex; }; +#ifdef _WIN32 +#define mkdir(a,b) mkdir(a) +#endif + #define LDIF ".ldif" #define IX_DNL '{'