diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-02 22:03:16 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-02 22:03:16 +0200 |
commit | f85f83df7f9d69a76671fa9b1396932f34736e55 (patch) | |
tree | 69a93ef27c21656cdde67d7ad62e27ad5468ebb5 /converter/source/cMakeDir.cpp | |
parent | Ravines: implemented proper caching - another 10 % in generator speedup :) (diff) | |
download | cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar.gz cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar.bz2 cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar.lz cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar.xz cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.tar.zst cuberite-f85f83df7f9d69a76671fa9b1396932f34736e55.zip |
Diffstat (limited to '')
-rw-r--r-- | converter/source/cMakeDir.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/converter/source/cMakeDir.cpp b/converter/source/cMakeDir.cpp deleted file mode 100644 index 579d39359..000000000 --- a/converter/source/cMakeDir.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#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 ) -{ -#ifdef _WIN32 - SECURITY_ATTRIBUTES Attrib; - Attrib.nLength = sizeof(SECURITY_ATTRIBUTES); - Attrib.lpSecurityDescriptor = NULL; - Attrib.bInheritHandle = false; - ::CreateDirectory(a_Directory, &Attrib); -#else - mkdir(a_Directory, S_IRWXU | S_IRWXG | S_IRWXO); -#endif -}
\ No newline at end of file |