From b640b0e245c10cf5e15916100aa5e145c5d9ec97 Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 4 May 2021 13:16:06 +0000 Subject: [PATCH] bind: fix Clang build I had already fixed this on 2021-03-27, but the fix was accidentally reverted on 2021-04-29 when updating to bind 9.16.15. --- external/mpl/bind/include/isc/stdatomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/mpl/bind/include/isc/stdatomic.h b/external/mpl/bind/include/isc/stdatomic.h index 54fc095cfe46..fb1f6969dda4 100644 --- a/external/mpl/bind/include/isc/stdatomic.h +++ b/external/mpl/bind/include/isc/stdatomic.h @@ -142,7 +142,7 @@ typedef uintmax_t atomic_uintmax_t; __c11_atomic_compare_exchange_weak_explicit(obj, expected, desired, \ succ, fail) #define atomic_exchange_explicit(obj, desired, order) \ - __c11_atomic_exchange_explicit(obj, expected, order) + __c11_atomic_exchange_explicit(obj, desired, order) #elif defined(__GNUC_ATOMICS) /* __atomic builtins */ #define atomic_init(obj, desired) (*obj = desired) #define atomic_load_explicit(obj, order) __atomic_load_n(obj, order)