From e17788ceff5c676f3783e5aa25d57a613e9f59db Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 17 Aug 2015 12:41:46 -0700 Subject: Replace HAVE_MS_C_RUNTIME with _WIN32 in frameworks/base/tools. Change-Id: Ideef62acbf53a442167c9b8038021affffef9e8a --- tools/aapt/Resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/aapt/Resource.cpp') 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& 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); -- cgit v1.2.3-59-g8ed1b