--- a/src/quick-lint-js/have.h
+++ b/src/quick-lint-js/have.h
@@ -249,7 +249,7 @@
 #endif
 
 #if !defined(QLJS_HAVE_ARM_NEON)
-#if defined(__ARM_NEON)
+#if defined(__ARM_NEON) && defined(__aarch64__)
 #define QLJS_HAVE_ARM_NEON 1
 #else
 #define QLJS_HAVE_ARM_NEON 0
