Add AO_REQUIRE_CAS as we do.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1348 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-08-30 17:01:10 +00:00
parent a6b99d5196
commit ad0535beef
3 changed files with 5 additions and 0 deletions

View file

@ -25,6 +25,8 @@
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#define AO_REQUIRE_CAS
#include <atomic_ops.h> #include <atomic_ops.h>
#include <pulse/xmalloc.h> #include <pulse/xmalloc.h>

View file

@ -22,6 +22,7 @@
USA. USA.
***/ ***/
#define AO_REQUIRE_CAS
#include <atomic_ops.h> #include <atomic_ops.h>
#define PA_REFCNT_DECLARE volatile AO_t _ref #define PA_REFCNT_DECLARE volatile AO_t _ref

View file

@ -25,6 +25,8 @@
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#define AO_REQUIRE_CAS
#include <atomic_ops.h> #include <atomic_ops.h>
#include <pulse/xmalloc.h> #include <pulse/xmalloc.h>