fixing __mkdir redifinition error

This commit is contained in:
tihmstar 2017-01-04 00:37:45 +01:00
parent 34f44495a1
commit 6332b5b64f

View file

@ -23,6 +23,10 @@
#include "restore.h"
#include "tsschecker.h"
#ifdef __mkdir
#undef __mkdir
#endif
#if defined _WIN32 || defined __CYGWIN__ || defined WIN32
#include <windows.h>
#define __mkdir(path, mode) mkdir(path)