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.
This commit is contained in:
rillig 2021-05-04 13:16:06 +00:00
parent ff9dfaecc9
commit b640b0e245

View File

@ -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)