build: remove B_USE_BUILTIN_ATOMIC_FUNCTIONS

No reason not to use GCC atomic support on non-x86 archs.

Signed-off-by: Paweł Dziepak <[email protected]>
This commit is contained in:
Paweł Dziepak
2014-08-25 23:06:58 +02:00
parent d3b1caa62d
commit a4cdc6072c
+2 -4
View File
@@ -215,8 +215,7 @@ extern void* get_stack_frame(void);
/* Use the built-in atomic functions, if requested and available. */ /* Use the built-in atomic functions, if requested and available. */
#if defined(B_USE_BUILTIN_ATOMIC_FUNCTIONS) && __GNUC__ > 4 \ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
|| (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
static inline void static inline void
@@ -321,8 +320,7 @@ atomic_get64(int64* value)
} }
#else // B_USE_BUILTIN_ATOMIC_FUNCTIONS && __GNUC__ > 4 #else // __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
// || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {