diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-03-06 18:27:34 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:38:25 +0300 |
commit | fa062c45a4f4c76ca313e9da41efe18948cea326 (patch) | |
tree | 2b059ba024d2200a0bdc54891e54d33157a88717 /platform/platform_android.cpp | |
parent | 21d8c2650fcedb1e0babbb8fb6cbd8c2edc09082 (diff) |
PR fixes
Diffstat (limited to 'platform/platform_android.cpp')
-rw-r--r-- | platform/platform_android.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/platform_android.cpp b/platform/platform_android.cpp index a265d060ca..aa330bc70a 100644 --- a/platform/platform_android.cpp +++ b/platform/platform_android.cpp @@ -11,7 +11,7 @@ #include "../base/string_utils.hpp" #include <unistd.h> // for sysconf - +#include <sys/stat.h> Platform::Platform() { @@ -244,9 +244,9 @@ bool Platform::GetFileSizeByName(string const & fileName, uint64_t & size) const } } -void Platform::MkDir(string const & directory_name) const +void Platform::MkDir(string const & dirName) const { - mkdir(directory_name.c_str(), 0755); + ::mkdir(dirName.c_str(), 0755); } namespace |