diff options
Diffstat (limited to 'source/cMakeDir.cpp')
-rw-r--r-- | source/cMakeDir.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/source/cMakeDir.cpp b/source/cMakeDir.cpp index 60817d5aa..8c43a7d92 100644 --- a/source/cMakeDir.cpp +++ b/source/cMakeDir.cpp @@ -1,14 +1,11 @@ +
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
#include "cMakeDir.h"
-#ifndef _WIN32
-//#include <cstring> // If something is missing, uncomment some of these!
-//#include <cstdlib>
-//#include <stdio.h>
-#include <sys/stat.h> // for mkdir
-//#include <sys/types.h>
-#else
-#include <Windows.h>
-#endif
+
+
+
void cMakeDir::MakeDir( const char* a_Directory )
{
@@ -21,4 +18,8 @@ void cMakeDir::MakeDir( const char* a_Directory ) #else
mkdir(a_Directory, S_IRWXU | S_IRWXG | S_IRWXO);
#endif
-}
\ No newline at end of file +}
+
+
+
+
|