summaryrefslogtreecommitdiffstats
path: root/compat/atomics/dummy
diff options
context:
space:
mode:
Diffstat (limited to 'compat/atomics/dummy')
-rw-r--r--compat/atomics/dummy/stdatomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/atomics/dummy/stdatomic.h b/compat/atomics/dummy/stdatomic.h
index c26f629..59d85f9 100644
--- a/compat/atomics/dummy/stdatomic.h
+++ b/compat/atomics/dummy/stdatomic.h
@@ -156,7 +156,7 @@ FETCH_MODIFY(and, &)
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