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:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user