diff options
author | Elliott Hughes <enh@google.com> | 2015-08-17 12:41:46 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-08-17 12:41:46 -0700 |
commit | e17788ceff5c676f3783e5aa25d57a613e9f59db (patch) | |
tree | 5c02145f2500a7c1021415980ab28706b6a0bffb /tools/aapt/Resource.cpp | |
parent | e3f0a881c20072a644317330ecf7409c81e96888 (diff) |
Replace HAVE_MS_C_RUNTIME with _WIN32 in frameworks/base/tools.
Change-Id: Ideef62acbf53a442167c9b8038021affffef9e8a
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r-- | tools/aapt/Resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index beb94fdbcfc5..aa7778f9114d 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp @@ -2682,7 +2682,7 @@ status_t writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, if (s > last && (*s == '.' || *s == 0)) { String8 part(last, s-last); dest.appendPath(part); -#ifdef HAVE_MS_C_RUNTIME +#ifdef _WIN32 _mkdir(dest.string()); #else mkdir(dest.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); |