[pulseaudio-commits] r1351 - in /trunk/src: Makefile.am pulsecore/mutex-posix.c pulsecore/refcnt.h pulsecore/thread-posix.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Aug 31 08:20:46 PDT 2006
Author: lennart
Date: Thu Aug 31 17:20:43 2006
New Revision: 1351
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1351&root=pulseaudio&view=rev
Log:
define AO_REQUIRE_CAS in the Makefile instead of each source file, effectively reversing r1348
Modified:
trunk/src/Makefile.am
trunk/src/pulsecore/mutex-posix.c
trunk/src/pulsecore/refcnt.h
trunk/src/pulsecore/thread-posix.c
Modified: trunk/src/Makefile.am
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/Makefile.am?rev=1351&root=pulseaudio&r1=1350&r2=1351&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Thu Aug 31 17:20:43 2006
@@ -50,6 +50,7 @@
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")'
Modified: trunk/src/pulsecore/mutex-posix.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/mutex-posix.c?rev=1351&root=pulseaudio&r1=1350&r2=1351&view=diff
==============================================================================
--- trunk/src/pulsecore/mutex-posix.c (original)
+++ trunk/src/pulsecore/mutex-posix.c Thu Aug 31 17:20:43 2006
@@ -26,7 +26,6 @@
#include <assert.h>
#include <pthread.h>
-#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#include <pulse/xmalloc.h>
Modified: trunk/src/pulsecore/refcnt.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/refcnt.h?rev=1351&root=pulseaudio&r1=1350&r2=1351&view=diff
==============================================================================
--- trunk/src/pulsecore/refcnt.h (original)
+++ trunk/src/pulsecore/refcnt.h Thu Aug 31 17:20:43 2006
@@ -22,7 +22,6 @@
USA.
***/
-#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#define PA_REFCNT_DECLARE volatile AO_t _ref
Modified: trunk/src/pulsecore/thread-posix.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/thread-posix.c?rev=1351&root=pulseaudio&r1=1350&r2=1351&view=diff
==============================================================================
--- trunk/src/pulsecore/thread-posix.c (original)
+++ trunk/src/pulsecore/thread-posix.c Thu Aug 31 17:20:43 2006
@@ -26,7 +26,6 @@
#include <assert.h>
#include <pthread.h>
-#define AO_REQUIRE_CAS
#include <atomic_ops.h>
#include <pulse/xmalloc.h>
More information about the pulseaudio-commits
mailing list