From eacb552396e7fad4ca262897a25d697be5512d53 Mon Sep 17 00:00:00 2001 From: Jakub Wartak Date: Fri, 28 Nov 2025 09:39:17 +0100 Subject: [PATCH] Fix typo in 586/686 in atomics/arch-x86.h --- src/include/port/atomics/arch-x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/port/atomics/arch-x86.h b/src/include/port/atomics/arch-x86.h index 4ba2ccc05913..aa8dedcd34a5 100644 --- a/src/include/port/atomics/arch-x86.h +++ b/src/include/port/atomics/arch-x86.h @@ -239,7 +239,7 @@ pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_) * 8 byte reads / writes have single-copy atomicity on 32 bit x86 platforms * since at least the 586. As well as on all x86-64 cpus. */ -#if defined(__i568__) || defined(__i668__) || /* gcc i586+ */ \ +#if defined(__i586__) || defined(__i686__) || /* gcc i586+ */ \ (defined(_M_IX86) && _M_IX86 >= 500) || /* msvc i586+ */ \ defined(__x86_64__) || defined(__x86_64) || defined(_M_X64) /* gcc, msvc */ #define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY