summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2016-05-16 20:53:13 +0200
committerArun Raghavan <arun@arunraghavan.net>2016-06-22 12:55:55 +0530
commitd7ffbfd1dc210e716c8b744488af9666f36a0389 (patch)
tree3f3f59c3dd956c78669437a09a45e097245e9321 /src
parenta5f71d1c5453191d1a529633748cbdf69e16f665 (diff)
pulsecore: Fix incorrect architecture mapping on sparc64.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=95432 Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/atomic.h2
1 files changed, 1 insertions, 1 deletions
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__)