diff options
Diffstat (limited to 'src/include/port/atomics/generic-gcc.h')
-rw-r--r-- | src/include/port/atomics/generic-gcc.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/port/atomics/generic-gcc.h b/src/include/port/atomics/generic-gcc.h index 591c9fe1eb3..306c38f6f7f 100644 --- a/src/include/port/atomics/generic-gcc.h +++ b/src/include/port/atomics/generic-gcc.h @@ -57,6 +57,7 @@ # define pg_write_barrier_impl() __atomic_thread_fence(__ATOMIC_RELEASE) #endif + #ifdef HAVE_ATOMICS /* generic gcc based atomic flag implementation */ @@ -103,11 +104,6 @@ typedef struct pg_atomic_uint64 #endif /* defined(HAVE_GCC__ATOMIC_INT64_CAS) || defined(HAVE_GCC__SYNC_INT64_CAS) */ -/* - * Implementation follows. Inlined or directly included from atomics.c - */ -#if defined(PG_USE_INLINE) || defined(ATOMICS_INCLUDE_DEFINITIONS) - #ifdef PG_HAVE_ATOMIC_FLAG_SUPPORT #if defined(HAVE_GCC__SYNC_CHAR_TAS) || defined(HAVE_GCC__SYNC_INT32_TAS) @@ -231,6 +227,4 @@ pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_) #endif /* !defined(PG_DISABLE_64_BIT_ATOMICS) */ -#endif /* defined(PG_USE_INLINE) || defined(ATOMICS_INCLUDE_DEFINITIONS) */ - #endif /* defined(HAVE_ATOMICS) */ |