Revert "Define 64-bits atomics unconditionally"

This reverts commit c2942e2c0e.

This resolves #495.
This commit is contained in:
Jason Evans 2016-11-07 10:53:35 -08:00
parent 04b463546e
commit 2e46b13ad5

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. */