From 02a1c6110380fc473a47d8efb4a69a2bc23c8143 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Mon, 16 May 2016 20:53:13 +0200 Subject: [PATCH] pulsecore: Fix incorrect architecture mapping on sparc64. Signed-off-by: John Paul Adrian Glaubitz --- src/pulsecore/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/atomic.h b/src/pulsecore/atomic.h index 4758c84..7657144 100644 --- a/src/pulsecore/atomic.h +++ b/src/pulsecore/atomic.h @@ -201,7 +201,7 @@ static inline u_int atomic_fetchadd_int(volatile u_int *p, u_int v) { return (v); } -#elif defined(__sparc64__) +#elif defined(__sparc__) && defined(__arch64__) #define atomic_load_acq_64 atomic_load_acq_long #define atomic_fetchadd_int atomic_add_int #elif defined(__ia64__) -- 2.8.1