summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-21 22:25:08 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-21 22:25:08 +0100
commitb82e7740c102afa7b9184b2556b887cf7a0211b0 (patch)
tree7e9532b86d387e8971cd2b8f723b54fa2400e24a /build
parenta2d4fb50092c0cbb31a5df1bca9111957238139b (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.system3
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])