From e9cc1c69ecab783aa75e32e64b3effb64d7958ae Mon Sep 17 00:00:00 2001 From: Debian Python Team Date: Sun, 28 Jan 2024 14:08:13 +0100 Subject: [PATCH] link_atomics_PR17777 =================================================================== Gbp-Pq: Name link_atomics_PR17777.patch --- scipy/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scipy/meson.build b/scipy/meson.build index 21ea04d5..7d5cdef9 100644 --- a/scipy/meson.build +++ b/scipy/meson.build @@ -303,8 +303,7 @@ code_non_lockfree = ''' struct { uint64_t *v; } x; - return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) & - (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); + return (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); } ''' if cc.get_id() != 'msvc' -- 2.30.2