vcpkg/ports/shiftmedia-libgnutls/mkdir.patch

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*/