Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d52aa807 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 9a6ec586: Move aapt2 off HAVE_MS_C_RUNTIME.

* commit '9a6ec586':
  Move aapt2 off HAVE_MS_C_RUNTIME.
parents 45f250aa 9a6ec586
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#include <string>
#include <sys/stat.h>

#ifdef HAVE_MS_C_RUNTIME
#ifdef _WIN32
// Windows includes.
#include <direct.h>
#endif
@@ -83,7 +83,7 @@ std::vector<std::string> listFiles(const StringPiece& root) {
}

inline static int mkdirImpl(const StringPiece& path) {
#ifdef HAVE_MS_C_RUNTIME
#ifdef _WIN32
    return _mkdir(path.toString().c_str());
#else
    return mkdir(path.toString().c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP);