Index: include/core/SkPreConfig.h |
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h |
index 94d48b6dd5386ad8d5868d6a938c5f5fe3f4c5e0..f241bab2ff7b1a9cbf4618e3120d9fb014a2080e 100644 |
--- a/include/core/SkPreConfig.h |
+++ b/include/core/SkPreConfig.h |
@@ -26,7 +26,7 @@ |
#if defined(_WIN32) || defined(__SYMBIAN32__) |
#define SK_BUILD_FOR_WIN32 |
- #elif defined(ANDROID) |
+ #elif defined(ANDROID) || defined(__ANDROID__) |
#define SK_BUILD_FOR_ANDROID |
#elif defined(linux) || defined(__linux) || defined(__FreeBSD__) || \ |
defined(__OpenBSD__) || defined(__sun) || defined(__NetBSD__) || \ |