Add #pragma intrinsic for intrinsic Windows functions

This commit is contained in:
Ondřej Surý 2019-01-29 17:07:27 +01:00
parent 9539e1c3a1
commit f2d1a88efc

View file

@ -22,6 +22,8 @@
#define InterlockedExchangeAdd8 _InterlockedExchangeAdd8
#define InterlockedCompareExchange8 _InterlockedCompareExchange8
#pragma intrinsic(_InterlockedCompareExchange8, _InterlockedExchangeAdd8)
#include <isc/util.h>
#ifndef __ATOMIC_RELAXED