mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
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:
parent
7ce39d35c6
commit
aee4a3738e
4 changed files with 1 additions and 3 deletions
|
|
@ -50,6 +50,7 @@ AM_CFLAGS += -DPA_DLSEARCHPATH=\"$(modlibexecdir)\"
|
||||||
AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
|
AM_CFLAGS += -DPA_DEFAULT_CONFIG_DIR=\"$(PA_DEFAULT_CONFIG_DIR)\"
|
||||||
AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
|
AM_CFLAGS += -DPA_BINARY=\"$(PA_BINARY)\"
|
||||||
AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
|
AM_CFLAGS += -DPA_SYSTEM_RUNTIME_PATH=\"$(PA_SYSTEM_RUNTIME_PATH)\"
|
||||||
|
AM_CFLAGS += -DAO_REQUIRE_CAS
|
||||||
|
|
||||||
# This cool debug trap works on i386/gcc only
|
# This cool debug trap works on i386/gcc only
|
||||||
AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
|
AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
#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>
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
#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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue