summaryrefslogtreecommitdiff
path: root/rts/OldARMAtomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/OldARMAtomic.c')
-rw-r--r--rts/OldARMAtomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/OldARMAtomic.c b/rts/OldARMAtomic.c
index 3c60e6d669..e76f4c6354 100644
--- a/rts/OldARMAtomic.c
+++ b/rts/OldARMAtomic.c
@@ -20,7 +20,7 @@
#include <sched.h>
#endif
-#if arm_HOST_ARCH && defined(arm_HOST_ARCH_PRE_ARMv6)
+#if defined(arm_HOST_ARCH) && defined(arm_HOST_ARCH_PRE_ARMv6)
static volatile int atomic_spin = 0;