]> code.delx.au - pulseaudio/commitdiff
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 d0156dbf1c35ec8ca1c32352eac9528a14d24b1d..08baa386094c457b253325848908dee791a4af3e 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 fade9aa476a485a3e970f06f11dfadef36dcaa8d..ff0a99238491cc1aa9863d1d2d6abaa0bd00c38f 100644 (file)
@@ -22,6 +22,7 @@
   USA.
 ***/
 
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #define PA_REFCNT_DECLARE volatile AO_t _ref
index 15ade29098b0a09f1731382fb79e8d8096e8d5c1..54f21b75a7d404a830498e0046a06ef12941fed4 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <assert.h>
 #include <pthread.h>
+
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #include <pulse/xmalloc.h>