diff options
Diffstat (limited to 'src/include/port/atomics/arch-x86.h')
| -rw-r--r-- | src/include/port/atomics/arch-x86.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/port/atomics/arch-x86.h b/src/include/port/atomics/arch-x86.h index 2a8eca30fcf..c12f8a60697 100644 --- a/src/include/port/atomics/arch-x86.h +++ b/src/include/port/atomics/arch-x86.h @@ -49,8 +49,6 @@ * nice to support older gcc's and the compare/exchange implementation here is * actually more efficient than the * __sync variant. */ -#if defined(HAVE_ATOMICS) - #if defined(__GNUC__) || defined(__INTEL_COMPILER) #define PG_HAVE_ATOMIC_FLAG_SUPPORT @@ -80,8 +78,6 @@ typedef struct pg_atomic_uint64 #endif /* defined(__GNUC__) || defined(__INTEL_COMPILER) */ -#endif /* defined(HAVE_ATOMICS) */ - #if !defined(PG_HAVE_SPIN_DELAY) /* * This sequence is equivalent to the PAUSE instruction ("rep" is @@ -132,8 +128,6 @@ pg_spin_delay_impl(void) #endif /* !defined(PG_HAVE_SPIN_DELAY) */ -#if defined(HAVE_ATOMICS) - #if defined(__GNUC__) || defined(__INTEL_COMPILER) #define PG_HAVE_ATOMIC_TEST_SET_FLAG @@ -250,5 +244,3 @@ pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_) defined(__x86_64__) || defined(__x86_64) || defined(_M_X64) /* gcc, sunpro, msvc */ #define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY #endif /* 8 byte single-copy atomicity */ - -#endif /* HAVE_ATOMICS */ |
