]> granicus.if.org Git - libatomic_ops/commitdiff
Define AO_T_IS_INT for x32
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 16 Apr 2012 16:23:51 +0000 (09:23 -0700)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 1 May 2012 16:01:37 +0000 (20:01 +0400)
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined
for x32.

src/atomic_ops/sysdeps/gcc/x86_64.h

index f49f644a5f39a1f55e5f67facbdb8d1c3fc9d7d8..5312a4541dced017ee130b88d846d85477dd9256 100644 (file)
@@ -215,3 +215,7 @@ AO_compare_double_and_swap_double_full(volatile AO_double_t *addr,
 #endif /* AO_WEAK_DOUBLE_CAS_EMULATION */
 
 #endif /* AO_CMPXCHG16B_AVAILABLE */
+
+#ifdef __ILP32__
+# define AO_T_IS_INT
+#endif