diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-04-16 09:23:51 -0700 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2012-05-01 20:03:16 +0400 |
commit | d79363ca7d42ded5c0a9199c8a1a58d3b340adb4 (patch) | |
tree | 179b590a7b7eb4ecab331d4458872bfae35c3f4b | |
parent | f9c3faf2e95546b6a0a167112bfedf1f32d11f37 (diff) | |
download | libatomic_ops-d79363ca7d42ded5c0a9199c8a1a58d3b340adb4.tar.gz |
Define AO_T_IS_INT for x32
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined
for x32.
-rw-r--r-- | src/atomic_ops/sysdeps/gcc/x86_64.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |