Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 831 vs 832 for /trunk/Source Code/Platform/PlatformDefinesWindows.cpp

Diff revisions: vs.
  @@ -10,6 +10,7 @@
10 10 #if defined(USE_VLD)
11 11 #include <vld.h>
12 12 #endif
13 + #include <direct.h>
13 14
14 15 // We are actually importing GL specific libraries in code mainly for
15 16 // maintenance reasons
  @@ -217,7 +218,11 @@
217 218 DWORD threadId = ::GetThreadId(static_cast<HANDLE>(thread->native_handle()));
218 219 setThreadName(threadId, threadName);
219 220 }
220 -
221 +
222 + bool createDirectory(const char* path) {
223 + return _mkdir(path) == 0;
224 + }
225 +
221 226 }; //namespace Divide
222 227
223 228 #endif //defined(_WIN32)