aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/arm/strlen-armv7.S
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/arm/strlen-armv7.S')
-rw-r--r--newlib/libc/machine/arm/strlen-armv7.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/arm/strlen-armv7.S b/newlib/libc/machine/arm/strlen-armv7.S
index 1aa51c9..cb6ba08 100644
--- a/newlib/libc/machine/arm/strlen-armv7.S
+++ b/newlib/libc/machine/arm/strlen-armv7.S
@@ -37,7 +37,7 @@
/* NOTE: This ifdef MUST match the ones in arm/strlen.c
We fallback to the one in arm/strlen.c for size optimised or
for older architectures. */
-#if defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__) && \
+#if (defined(_ISA_ARM_7) || defined(__ARM_ARCH_6T2__)) && \
!(defined (__OPTIMIZE_SIZE__) || defined (PREFER_SIZE_OVER_SPEED) || \
(defined (__thumb__) && !defined (__thumb2__)))