define AO_REQUIRE_CAS in the Makefile instead of each source file, effectively reversing r1348

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1351 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-08-31 15:20:43 +00:00
parent 7ce39d35c6
commit aee4a3738e
4 changed files with 1 additions and 3 deletions

View file

@ -50,6 +50,7 @@ AM_CFLAGS += -DPA_DLSEARCHPATH=\"$(modlibexecdir)\"
AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
AM_CFLAGS += -DAO_REQUIRE_CAS
# This cool debug trap works on i386/gcc only
AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'

View file

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

View file

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

View file

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