mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
util: Use GCC atomic bultins on GCC 4.1 and higher only.
This commit is contained in:
parent
71b2f1d8e6
commit
930838efcd
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#define PIPE_ATOMIC_ASM_MSVC_X86
|
||||
#elif (defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86))
|
||||
#define PIPE_ATOMIC_ASM_GCC_X86
|
||||
#elif defined(PIPE_CC_GCC)
|
||||
#elif defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION >= 401)
|
||||
#define PIPE_ATOMIC_GCC_INTRINSIC
|
||||
#else
|
||||
#error "Unsupported platform"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue