From: Howard Chu Date: Thu, 16 Dec 2004 15:41:49 +0000 (+0000) Subject: Move mkdir def. It should really go somewhere else... X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c0ee263b50eda7518273a488df4b906b0d44c35;p=openldap Move mkdir def. It should really go somewhere else... --- diff --git a/servers/slurpd/main.c b/servers/slurpd/main.c index df3d919111..d3522355b3 100644 --- a/servers/slurpd/main.c +++ b/servers/slurpd/main.c @@ -47,10 +47,6 @@ #include -#ifdef HAVE_WINSOCK -#define mkdir(a,b) mkdir(a) -#endif - #ifdef HAVE_NT_SERVICE_MANAGER #define MAIN_RETURN(x) return #define SERVICE_EXIT( e, n ) do { \ diff --git a/servers/slurpd/slurp.h b/servers/slurpd/slurp.h index 96ca977127..c796cc3c53 100644 --- a/servers/slurpd/slurp.h +++ b/servers/slurpd/slurp.h @@ -58,6 +58,7 @@ /* should be moved to portable.h.nt */ #define ftruncate(a,b) _chsize(a,b) #define truncate(a,b) _lclose( _lcreat(a, 0)) +#define mkdir(a,b) mkdir(a) #define S_IRGRP 0 #define S_IWGRP 0 #endif