From d7ffbfd1dc210e716c8b744488af9666f36a0389 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Mon, 16 May 2016 20:53:13 +0200 Subject: pulsecore: Fix incorrect architecture mapping on sparc64. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=95432 Signed-off-by: John Paul Adrian Glaubitz Signed-off-by: Arun Raghavan --- src/pulsecore/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pulsecore/atomic.h b/src/pulsecore/atomic.h index 4758c84cc..765714449 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__) -- cgit v1.2.3