Skip to content

Commit b847ce2

Browse files
author
hackorum
committed
Apply tell-dsa-that-atomic-u64-is-always-available.patch
1 parent 31878cc commit b847ce2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎src/include/utils/dsa.h‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@ typedef struct dsa_area dsa_area;
2828
* the DSA pointer must encode both a segment identifier and an offset, but
2929
* that shouldn't be a significant limitation in practice.
3030
*
31-
* If this system doesn't support atomic operations on 64-bit values, then
32-
* we fall back to 32-bit dsa_pointer for lack of other options.
33-
*
3431
* For testing purposes, USE_SMALL_DSA_POINTER can be defined to force the use
3532
* of 32-bit dsa_pointer even on systems capable of supporting a 64-bit
3633
* dsa_pointer.
3734
*/
38-
#if SIZEOF_SIZE_T == 4 || !defined(PG_HAVE_ATOMIC_U64_SUPPORT) || \
39-
defined(USE_SMALL_DSA_POINTER)
35+
#if SIZEOF_SIZE_T == 4 || defined(USE_SMALL_DSA_POINTER)
4036
#define SIZEOF_DSA_POINTER 4
4137
#else
4238
#define SIZEOF_DSA_POINTER 8

0 commit comments

Comments
 (0)