From d79363ca7d42ded5c0a9199c8a1a58d3b340adb4 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 16 Apr 2012 09:23:51 -0700 Subject: Define AO_T_IS_INT for x32 * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined for x32. --- src/atomic_ops/sysdeps/gcc/x86_64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/atomic_ops/sysdeps/gcc/x86_64.h b/src/atomic_ops/sysdeps/gcc/x86_64.h index 7da6910..6ddc9ac 100644 --- a/src/atomic_ops/sysdeps/gcc/x86_64.h +++ b/src/atomic_ops/sysdeps/gcc/x86_64.h @@ -173,3 +173,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 -- cgit v1.2.1