Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/include/isc bind: fix Clang build
details: https://anonhg.NetBSD.org/src/rev/2622fea4decd
branches: trunk
changeset: 1021044:2622fea4decd
user: rillig <rillig%NetBSD.org@localhost>
date: Tue May 04 13:16:06 2021 +0000
description:
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.
diffstat:
external/mpl/bind/include/isc/stdatomic.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dbb7f5f9e993 -r 2622fea4decd external/mpl/bind/include/isc/stdatomic.h
--- a/external/mpl/bind/include/isc/stdatomic.h Tue May 04 09:05:34 2021 +0000
+++ b/external/mpl/bind/include/isc/stdatomic.h Tue May 04 13:16:06 2021 +0000
@@ -142,7 +142,7 @@
__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)
Home |
Main Index |
Thread Index |
Old Index