diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h index 3be783af..b1eccc30 100644 --- a/src/dsp/dsp.h +++ b/src/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