1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-11212 - Clean-up MariaDB atomic operations

Removed "somewhat broken native x86 implementation". Should never be used on
supported platforms.
This commit is contained in:
Sergey Vojtovich
2016-11-02 15:16:36 +04:00
parent beea3413e0
commit 1369e70b56
2 changed files with 1 additions and 157 deletions

View File

@@ -117,10 +117,7 @@
On Windows using Visual C++ the native implementation should be
preferrable. When using gcc we prefer the Solaris implementation
before the gcc because of stability preference, we choose gcc
builtins if available, otherwise we choose the somewhat broken
native x86 implementation. If neither Visual C++ or gcc we still
choose the Solaris implementation on Solaris (mainly for SunStudio
compilers).
builtins if available.
*/
#if defined(_MSC_VER)
#include "atomic/generic-msvc.h"
@@ -128,8 +125,6 @@
#include "atomic/solaris.h"
#elif defined(HAVE_GCC_ATOMIC_BUILTINS)
#include "atomic/gcc_builtins.h"
#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
#include "atomic/x86-gcc.h"
#endif