Index: third_party/libwebp/dsp/dsp.h |
diff --git a/third_party/libwebp/dsp/dsp.h b/third_party/libwebp/dsp/dsp.h |
index 3be783afe79b03f64cbc057138bb33f8b821a753..b1eccc302fb9f88baf9e0c6b8e1f831ed8ae9f7a 100644 |
--- a/third_party/libwebp/dsp/dsp.h |
+++ b/third_party/libwebp/dsp/dsp.h |
@@ -36,7 +36,8 @@ extern "C" { |
#define WEBP_ANDROID_NEON // Android targets that might support NEON |
#endif |
-#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) |
+#if (defined(__ARM_NEON__) && !defined(__aarch64__)) || \ |
+ defined(WEBP_ANDROID_NEON) |
#define WEBP_USE_NEON |
#endif |