fix: properly detect 'cmpxchg' on x86-32
[urcu.git] / include / urcu / uatomic / x86.h
index f4e1887477684f779edd2d865ad3e7edb86eee37..d416963c31aeca0cdd5003b67858c1209779627c 100644 (file)
@@ -529,7 +529,7 @@ void __uatomic_dec(void *addr, int len)
 
 #define _uatomic_dec(addr)     (__uatomic_dec((addr), sizeof(*(addr))))
 
-#if ((CAA_BITS_PER_LONG != 64) && defined(URCU_ARCH_I386))
+#ifdef URCU_ARCH_X86_NO_CAS
 
 /* For backwards compat */
 #define CONFIG_RCU_COMPAT_ARCH 1
This page took 0.022028 seconds and 4 git commands to generate.