summaryrefslogtreecommitdiffstats
path: root/source/cMakeDir.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-16 22:28:14 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-16 22:28:14 +0200
commit33ca4d5003059d7d1f4b9e29649693ec0e5be262 (patch)
tree7bfb4ec7c1d3fcc46c341406667033ec051f010c /source/cMakeDir.cpp
parentWindows compilation fix after Android changes (diff)
downloadcuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar.gz
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar.bz2
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar.lz
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar.xz
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.tar.zst
cuberite-33ca4d5003059d7d1f4b9e29649693ec0e5be262.zip
Diffstat (limited to 'source/cMakeDir.cpp')
-rw-r--r--source/cMakeDir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cMakeDir.cpp b/source/cMakeDir.cpp
index a9e35cece..478d1d872 100644
--- a/source/cMakeDir.cpp
+++ b/source/cMakeDir.cpp
@@ -14,9 +14,9 @@ void cMakeDir::MakeDir(const AString & a_Directory)
Attrib.nLength = sizeof(SECURITY_ATTRIBUTES);
Attrib.lpSecurityDescriptor = NULL;
Attrib.bInheritHandle = false;
- ::CreateDirectory(a_Directory.c_str(), &Attrib);
+ ::CreateDirectory( (FILE_IO_PREFIX + a_Directory).c_str(), &Attrib);
#else
- mkdir(a_Directory.c_str(), S_IRWXU | S_IRWXG | S_IRWXO);
+ mkdir( (FILE_IO_PREFIX + a_Directory).c_str(), S_IRWXU | S_IRWXG | S_IRWXO);
#endif
}