Enable new warning for fragile/incorrect CPP #if usage
[ghc.git] / rts / OldARMAtomic.c
index 3c60e6d..e76f4c6 100644 (file)
@@ -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;