Revert "Define 64-bits atomics unconditionally"

This reverts commit af33e9a597.

This resolves #495.
This commit is contained in:
Jason Evans 2016-11-07 11:41:34 -08:00
parent 5d6cb6eb66
commit 7b8e74f48f

View File

@ -66,6 +66,7 @@ void atomic_write_u(unsigned *p, unsigned x);
#if (defined(JEMALLOC_ENABLE_INLINE) || defined(JEMALLOC_ATOMIC_C_))
/******************************************************************************/
/* 64-bit operations. */
#if (LG_SIZEOF_PTR == 3 || LG_SIZEOF_INT == 3)
# if (defined(__amd64__) || defined(__x86_64__))
JEMALLOC_INLINE uint64_t
atomic_add_uint64(uint64_t *p, uint64_t x)
@ -286,6 +287,7 @@ atomic_write_uint64(uint64_t *p, uint64_t x)
# else
# error "Missing implementation for 64-bit atomic operations"
# endif
#endif
/******************************************************************************/
/* 32-bit operations. */