summaryrefslogtreecommitdiff
path: root/include/atomic/nolock.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2009-12-23 09:27:41 +0100
committerSergei Golubchik <serg@mysql.com>2009-12-23 09:27:41 +0100
commit3bfb8797d017f8f9f13aecd82f6c08ad6619c5bb (patch)
treecc1e69d8e934db280c8ce65f725dfee80f201a84 /include/atomic/nolock.h
parent274e1e4497744e402017f9753de0f3c8354e45e8 (diff)
downloadmariadb-git-3bfb8797d017f8f9f13aecd82f6c08ad6619c5bb.tar.gz
fix atomic/solaris.h to conform
remove duplicated boilerplate code
Diffstat (limited to 'include/atomic/nolock.h')
-rw-r--r--include/atomic/nolock.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/atomic/nolock.h b/include/atomic/nolock.h
index 9ec5eb5a2fd..5a0c41d9078 100644
--- a/include/atomic/nolock.h
+++ b/include/atomic/nolock.h
@@ -50,11 +50,7 @@
# endif
#endif
-#if defined(make_atomic_cas_body) || defined(MY_ATOMICS_MADE)
-/*
- * We have atomics that require no locking
- */
-#define MY_ATOMIC_NOLOCK
+#if defined(make_atomic_cas_body)
/*
Type not used so minimal size (emptry struct has different size between C
and C++, zero-length array is gcc-specific).