Add AO_REQUIRE_CAS as we do.
authorPierre Ossman <ossman@cendio.se>
Wed, 30 Aug 2006 17:01:10 +0000 (17:01 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 30 Aug 2006 17:01:10 +0000 (17:01 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1348 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/mutex-posix.c
src/pulsecore/refcnt.h
src/pulsecore/thread-posix.c

index d0156db..08baa38 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <assert.h>
 #include <pthread.h>
+
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #include <pulse/xmalloc.h>
index fade9aa..ff0a992 100644 (file)
@@ -22,6 +22,7 @@
   USA.
 ***/
 
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #define PA_REFCNT_DECLARE volatile AO_t _ref
index 15ade29..54f21b7 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <assert.h>
 #include <pthread.h>
+
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #include <pulse/xmalloc.h>