aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPreConfig.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-08-25 08:44:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-25 08:44:49 -0700
commitf419781d378fd78a332fdf9dd5dda0ff65d3c07d (patch)
treef7bbcd671339abe23a91c32cbdf2afa406670d7b /include/core/SkPreConfig.h
parent6cf896d7ce03b87b3a5595bc66caf0a34c993755 (diff)
update Android auto-detection.
Clang defines __ANDROID__ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2278483004 No public API changes. TBR=reed@google.com Review-Url: https://codereview.chromium.org/2278483004
Diffstat (limited to 'include/core/SkPreConfig.h')
-rw-r--r--include/core/SkPreConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h
index 94d48b6dd5..f241bab2ff 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__) || \