summaryrefslogtreecommitdiff
path: root/include/my_atomic.h
diff options
context:
space:
mode:
authorRobert Bindar <robert@mariadb.org>2019-07-01 13:21:07 +0300
committerRobert Bindar <robert@mariadb.org>2019-07-03 12:11:22 +0300
commite8392e58b2a5a69f9c0bd5b5aed90348b4a0ccb3 (patch)
tree3506325a01a0c06c154cf14bdc762311693e5c3d /include/my_atomic.h
parent3acf74105175d4c909e0ea8e969f3d78bfc5f7af (diff)
downloadmariadb-git-e8392e58b2a5a69f9c0bd5b5aed90348b4a0ccb3.tar.gz
MDEV-19696 - Cleanup gcc sync builtins
Since 10.4 requires C++11 capable compiler, gcc sync builtins became dead code. Remove relevant cmake checks and cleanup include files.
Diffstat (limited to 'include/my_atomic.h')
-rw-r--r--include/my_atomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/my_atomic.h b/include/my_atomic.h
index 19983daed04..1c54c24d455 100644
--- a/include/my_atomic.h
+++ b/include/my_atomic.h
@@ -112,8 +112,6 @@
#include "atomic/solaris.h"
#elif defined(HAVE_GCC_C11_ATOMICS)
#include "atomic/gcc_builtins.h"
-#elif defined(HAVE_GCC_ATOMIC_BUILTINS)
-#include "atomic/gcc_sync.h"
#endif
#if SIZEOF_LONG == 4