From b82e7740c102afa7b9184b2556b887cf7a0211b0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 21 Jun 2009 22:25:08 +0100 Subject: [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. --- build/configure.ac.system | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build') 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]) -- cgit v1.2.3