mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:39:07 +08:00
14 lines
424 B
Diff
14 lines
424 B
Diff
diff --git a/SMP/unistd.h b/SMP/unistd.h
|
|
index b54d4be15..273204e00 100644
|
|
--- a/SMP/unistd.h
|
|
+++ b/SMP/unistd.h
|
|
@@ -32,6 +32,8 @@
|
|
#include <direct.h>
|
|
#include <fcntl.h>
|
|
|
|
+#define mkdir(path, mode) _mkdir(path)
|
|
+
|
|
#define R_OK 4 /* Test for read permission. */
|
|
#define W_OK 2 /* Test for write permission. */
|
|
//#define X_OK 1 /* execute permission - unsupported in windows*/
|