commit | c9d32390e59d99c76b79edd247a1127088ce81ec | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Wed May 07 20:14:30 2014 +0800 |
committer | Stephen Hines <srhines@google.com> | Tue Sep 30 02:28:05 2014 -0700 |
tree | aa1ecc14b318c0a93dbedf8fb7d76c2e3008c25e | |
parent | 38646c19d8badea143113c0dc48ccdacb18badc4 [diff] [blame] |
include direct.h for _mkdir Bug: 14416410 The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer declares _mkdir in io.h. Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
diff --git a/tools/aapt/CacheUpdater.h b/tools/aapt/CacheUpdater.h index 0e65589..efb2453 100644 --- a/tools/aapt/CacheUpdater.h +++ b/tools/aapt/CacheUpdater.h
@@ -12,6 +12,9 @@ #include <sys/stat.h> #include <stdio.h> #include "Images.h" +#ifdef HAVE_MS_C_RUNTIME +#include <direct.h> +#endif using namespace android;