From 6332b5b64f94b49dfac7a9d9da9f3e2571ed036b Mon Sep 17 00:00:00 2001 From: tihmstar Date: Wed, 4 Jan 2017 00:37:45 +0100 Subject: [PATCH] fixing __mkdir redifinition error --- futurerestore/futurerestore.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/futurerestore/futurerestore.cpp b/futurerestore/futurerestore.cpp index ded60faa..15bd925a 100644 --- a/futurerestore/futurerestore.cpp +++ b/futurerestore/futurerestore.cpp @@ -23,6 +23,10 @@ #include "restore.h" #include "tsschecker.h" +#ifdef __mkdir +#undef __mkdir +#endif + #if defined _WIN32 || defined __CYGWIN__ || defined WIN32 #include #define __mkdir(path, mode) mkdir(path)