Skip to content
Snippets Groups Projects
Commit 3c0ee263 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent 8d4281d8
No related branches found
No related tags found
No related merge requests found
......@@ -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 { \
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment