[_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:
parent
1d438880ff
commit
e7b04123a9
3 changed files with 54 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue