[cairo-commit] src/cairo-atomic.c src/cairo-atomic-private.h
Chris Wilson
ickle at kemper.freedesktop.org
Fri Jan 29 03:24:50 PST 2010
src/cairo-atomic-private.h | 2 --
src/cairo-atomic.c | 3 ++-
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit e3e74641450481e7ad393bbc6fd1a7428be53de1
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Jan 29 11:22:26 2010 +0000
atomic: Fix up compile on PPC with libatomic-ops
diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h
index 8532f62..af5b018 100644
--- a/src/cairo-atomic-private.h
+++ b/src/cairo-atomic-private.h
@@ -127,8 +127,6 @@ _cairo_atomic_ptr_cmpxchg (void **x, void *oldv, void *newv);
#ifdef ATOMIC_OP_NEEDS_MEMORY_BARRIER
-# include "cairo-compiler-private.h"
-
cairo_private int
_cairo_atomic_int_get (int *x);
diff --git a/src/cairo-atomic.c b/src/cairo-atomic.c
index 146ad85..cf71964 100644
--- a/src/cairo-atomic.c
+++ b/src/cairo-atomic.c
@@ -88,7 +88,6 @@ _cairo_atomic_ptr_cmpxchg (void **x, void *oldv, void *newv)
return ret;
}
-#endif
#ifdef ATOMIC_OP_NEEDS_MEMORY_BARRIER
int
@@ -111,3 +110,5 @@ _cairo_atomic_int_set (int *x, int value)
CAIRO_MUTEX_UNLOCK (_cairo_atomic_mutex);
}
#endif
+
+#endif
More information about the cairo-commit
mailing list