summaryrefslogtreecommitdiffstats
path: root/compat/atomics/suncc/stdatomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/atomics/suncc/stdatomic.h')
-rw-r--r--compat/atomics/suncc/stdatomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/atomics/suncc/stdatomic.h b/compat/atomics/suncc/stdatomic.h
index 119c2ba..4a864a4 100644
--- a/compat/atomics/suncc/stdatomic.h
+++ b/compat/atomics/suncc/stdatomic.h
@@ -166,7 +166,7 @@ static inline intptr_t atomic_fetch_and(intptr_t *object, intptr_t operand)
atomic_fetch_or(object, operand)
#define atomic_fetch_xor_explicit(object, operand, order) \
- atomic_fetch_sub(object, operand)
+ atomic_fetch_xor(object, operand)
#define atomic_fetch_and_explicit(object, operand, order) \
atomic_fetch_and(object, operand)
OpenPOWER on IntegriCloud