diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-21 22:25:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-21 22:25:08 +0100 |
commit | b82e7740c102afa7b9184b2556b887cf7a0211b0 (patch) | |
tree | 7e9532b86d387e8971cd2b8f723b54fa2400e24a /build | |
parent | a2d4fb50092c0cbb31a5df1bca9111957238139b (diff) |
[atomic] Silence compiler warnings by defining an intptr_t
Evaulate the integer sizes during configure to find one of the exact same
size as a void* to use in the conversion of the atomic ptr cmpxchg to an
atomic int cmpxchg.
Diffstat (limited to 'build')
-rw-r--r-- | build/configure.ac.system | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/configure.ac.system b/build/configure.ac.system index 07d30c2e..30bcb8e3 100644 --- a/build/configure.ac.system +++ b/build/configure.ac.system @@ -11,6 +11,9 @@ CAIRO_BIGENDIAN CAIRO_CHECK_NATIVE_ATOMIC_PRIMITIVES CAIRO_CHECK_ATOMIC_OP_NEEDS_MEMORY_BARRIER AC_CHECK_SIZEOF(void *) +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF(long long) AC_CHECK_SIZEOF(size_t) AC_MSG_CHECKING([for native Win32]) |