summaryrefslogtreecommitdiff
path: root/include/my_atomic.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-12-15 17:07:43 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-12-15 17:07:43 +0100
commitfe1287ea68dcb8a0ffd01c795a0569bc2d9d134a (patch)
treeae1740b7c112b8ed44c47815128f24b17fe4478e /include/my_atomic.h
parentf06d24c18ecc8ff692fcfa7fedf13eb9222d6da6 (diff)
downloadmariadb-git-fe1287ea68dcb8a0ffd01c795a0569bc2d9d134a.tar.gz
Fixed 64-bit atomics on Win x86 and removed support for 8 and 16-bit atomic operations
Diffstat (limited to 'include/my_atomic.h')
-rw-r--r--include/my_atomic.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/my_atomic.h b/include/my_atomic.h
index 4170e45fe8c..23c3dc749ab 100644
--- a/include/my_atomic.h
+++ b/include/my_atomic.h
@@ -56,11 +56,10 @@
#define intptr void *
/**
- On most platforms we implement 8-bit, 16-bit, 32-bit and "pointer"
- operations. Thus the symbol below is defined by default; platforms
- where we leave out 8-bit or 16-bit operations should undefine it.
+ Currently we don't support 8-bit and 16-bit operations.
+ It can be added later if needed.
*/
-#define MY_ATOMIC_HAS_8_16 1
+#undef MY_ATOMIC_HAS_8_16
#ifndef MY_ATOMIC_MODE_RWLOCKS
/*