[_WIN32] (posix_mkdir): New.

[_WIN32] (mkdir): Use it.  Last argument is no longer ignored, which
was a bug.  Move declaration to unistd.h, which isn't quite right, but
works for us.
This commit is contained in:
Ron Koenderink 2007-08-14 03:11:26 +00:00
parent 1d438880ff
commit e7b04123a9
3 changed files with 54 additions and 1 deletions

View file

@ -54,7 +54,6 @@ typedef int pid_t;
#endif /* !__GNUC__ */
#define mkdir(dir,perm) _mkdir((dir))
#define random rand
#define srandom srand
#ifndef S_IRUSR