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

This commit is contained in:
Ondřej Surý
2019-09-26 11:36:48 +02:00
parent 6b3cf36032
commit 52064809b4
+1 -1
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