Added macros to facilitate compiling on windows

This commit is contained in:
ChrisFadden
2015-08-31 18:03:35 -04:00
parent 13c6044193
commit 35ee6425f1

View File

@@ -1,5 +1,9 @@
#include "Importer.h"
#ifdef _WIN32
#include <unistd.h>
#define mkdir( A, B ) mkdir(A)
#endif
Importer::Importer(Parser* parserIn, std::vector<std::string> includePaths, std::string outputNameIn, bool only_parseIn) {
only_parse = only_parseIn;
//constructor