mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-9627 clang builds fail on i386
don't use C11 atomics unless HAVE_GCC_C11_ATOMICS is defined
This commit is contained in:
@@ -328,7 +328,7 @@ make_atomic_store(ptr)
|
||||
#define MY_ATOMIC_NOT_1CPU 1
|
||||
extern int my_atomic_initialize();
|
||||
|
||||
#ifdef __ATOMIC_SEQ_CST
|
||||
#ifdef HAVE_GCC_C11_ATOMICS
|
||||
#define MY_MEMORY_ORDER_RELAXED __ATOMIC_RELAXED
|
||||
#define MY_MEMORY_ORDER_CONSUME __ATOMIC_CONSUME
|
||||
#define MY_MEMORY_ORDER_ACQUIRE __ATOMIC_ACQUIRE
|
||||
|
Reference in New Issue
Block a user