summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/arm/memchr-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arm/memchr-stub.c')
-rw-r--r--newlib/libc/machine/arm/memchr-stub.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/machine/arm/memchr-stub.c b/newlib/libc/machine/arm/memchr-stub.c
index 21ffbbd96..5c7881b9c 100644
--- a/newlib/libc/machine/arm/memchr-stub.c
+++ b/newlib/libc/machine/arm/memchr-stub.c
@@ -29,7 +29,9 @@
#include "acle-compat.h"
-#if __ARM_ARCH_ISA_THUMB >= 2 && defined (__ARM_FEATURE_DSP)
+#if defined (__ARM_NEON__) || defined (__ARM_NEON)
+/* Defined in memchr.S. */
+#elif __ARM_ARCH_ISA_THUMB >= 2 && defined (__ARM_FEATURE_DSP)
/* Defined in memchr.S. */
#else
# include "../../string/memchr.c"