Fix the wrong function for the atomic_fetch_add_explicit64 shim on non-WIN64 build

This commit is contained in:
Ondřej Surý 2019-07-04 11:04:29 +02:00
parent 6b3cf36032
commit 52064809b4

View file

@ -187,7 +187,7 @@ atomic_load_abort() {
: InterlockedExchangeAdd64((atomic_int_fast64_t *)obj, arg))))
#else
#define atomic_fetch_add_explicit64(obj, arg, order) \
InterlockedExchange64((atomic_int_fast64_t *)obj, arg)
InterlockedExchangeAdd64((atomic_int_fast64_t *)obj, arg)
#endif
static inline