]> git.sur5r.net Git - openldap/commitdiff
Move mkdir def. It should really go somewhere else...
authorHoward Chu <hyc@openldap.org>
Thu, 16 Dec 2004 15:41:49 +0000 (15:41 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 16 Dec 2004 15:41:49 +0000 (15:41 +0000)
servers/slurpd/main.c
servers/slurpd/slurp.h

index df3d919111b8efd8632f127c11dd9fe53511880d..d3522355b3617267ee536acf2f7dbc44cb6e3701 100644 (file)
 
 #include <ldap_pvt.h>
 
-#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 { \
index 96ca977127e7dcd867a58ea21a9a212d1bed2488..c796cc3c53a7a6b843503ff7c166a5e1ec611556 100644 (file)
@@ -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