summaryrefslogtreecommitdiff
path: root/nptl/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/atomic.h')
-rw-r--r--nptl/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/atomic.h b/nptl/atomic.h
index 85a43c01e6..4279235a71 100644
--- a/nptl/atomic.h
+++ b/nptl/atomic.h
@@ -91,7 +91,7 @@
#endif
-#ifdef atomic_add_negative
+#ifndef atomic_add_negative
# define atomic_add_negative(mem, value) \
(atomic_exchange_and_add (mem, value) < 0)
#endif