mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 10:47:14 +01:00
build: remove B_USE_BUILTIN_ATOMIC_FUNCTIONS
No reason not to use GCC atomic support on non-x86 archs. Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
This commit is contained in:
parent
d3b1caa62d
commit
a4cdc6072c
@ -215,8 +215,7 @@ extern void* get_stack_frame(void);
|
||||
|
||||
/* Use the built-in atomic functions, if requested and available. */
|
||||
|
||||
#if defined(B_USE_BUILTIN_ATOMIC_FUNCTIONS) && __GNUC__ > 4 \
|
||||
|| (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||
|
||||
|
||||
static inline void
|
||||
@ -321,8 +320,7 @@ atomic_get64(int64* value)
|
||||
}
|
||||
|
||||
|
||||
#else // B_USE_BUILTIN_ATOMIC_FUNCTIONS && __GNUC__ > 4
|
||||
// || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||
#else // __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user