check for both __ARM_NEON__ and __ARM_NEON
authorlsalzman <lsalzman@mozilla.com>
Tue, 26 Jan 2016 15:34:51 +0000 (07:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 Jan 2016 15:34:51 +0000 (07:34 -0800)
No public API changes.
TBR=reed@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1630903004

Review URL: https://codereview.chromium.org/1630903004

include/core/SkPreConfig.h

index 9371a26..c17cc18 100644 (file)
 
 // All 64-bit ARM chips have NEON.  Many 32-bit ARM chips do too.
 // TODO: Why don't we want NEON on iOS?
-#if !defined(SK_ARM_HAS_NEON) && !defined(SK_BUILD_FOR_IOS) && defined(__ARM_NEON)
+#if !defined(SK_ARM_HAS_NEON) && !defined(SK_BUILD_FOR_IOS) && (defined(__ARM_NEON__) || defined(__ARM_NEON))
     #define SK_ARM_HAS_NEON
 #endif