Move mkdir def. It should really go somewhere else...

This commit is contained in:
Howard Chu 2004-12-16 15:41:49 +00:00
parent 8d4281d843
commit 3c0ee263b5
2 changed files with 1 additions and 4 deletions

View File

@ -47,10 +47,6 @@
#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 { \

View 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