Cleaning up, trying to support windows

This commit is contained in:
Zoe Roux
2021-04-15 00:27:03 +02:00
parent 2fccd0d10e
commit cd5cec6a93
4 changed files with 22 additions and 12 deletions
+2
View File
@@ -9,8 +9,10 @@
#ifdef __WIN32__
#define kmkdir(dir, mode) mkdir(dir)
#include <io.h>
#else
#define kmkdir(dir, mode) mkdir(dir, mode)
#include <unistd.h>
#endif
#ifdef __MINGW32__