summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-03-09 07:32:53 (GMT)
committerJason Evans <jasone@canonware.com>2017-03-09 08:57:37 (GMT)
commit75fddc786c9d5476cab1d5d4699e95d8907d0b51 (patch)
tree92ca36bd087edf3a08f0568db59597819cb85d94
parentf84471edc37dbf8ff86a36d71c988ee4d8e6c5f9 (diff)
downloadjemalloc-75fddc786c9d5476cab1d5d4699e95d8907d0b51.zip
jemalloc-75fddc786c9d5476cab1d5d4699e95d8907d0b51.tar.gz
jemalloc-75fddc786c9d5476cab1d5d4699e95d8907d0b51.tar.bz2
Fix ATOMIC_{ACQUIRE,RELEASE,ACQ_REL} definitions.
-rw-r--r--include/jemalloc/internal/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/jemalloc/internal/atomic.h b/include/jemalloc/internal/atomic.h
index acbb621..b68440c 100644
--- a/include/jemalloc/internal/atomic.h
+++ b/include/jemalloc/internal/atomic.h
@@ -39,9 +39,9 @@
* quite so often.
*/
#define ATOMIC_RELAXED atomic_memory_order_relaxed
-#define ATOMIC_ACQUIRE atomic_memory_order_acquire,
-#define ATOMIC_RELEASE atomic_memory_order_release,
-#define ATOMIC_ACQ_REL atomic_memory_order_acq_rel,
+#define ATOMIC_ACQUIRE atomic_memory_order_acquire
+#define ATOMIC_RELEASE atomic_memory_order_release
+#define ATOMIC_ACQ_REL atomic_memory_order_acq_rel
#define ATOMIC_SEQ_CST atomic_memory_order_seq_cst
/*