From 44466cb30298b2f4e656d43013ed12f8ef78d71d Mon Sep 17 00:00:00 2001 From: Wojciech Mamrak Date: Tue, 1 Oct 2019 11:27:40 +0200 Subject: [PATCH] Fixes of error C3861: identifier not found --- .../internal/eathread_atomic_standalone_msvc.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/eathread/internal/eathread_atomic_standalone_msvc.h b/include/eathread/internal/eathread_atomic_standalone_msvc.h index 17d5de5..1b70d56 100644 --- a/include/eathread/internal/eathread_atomic_standalone_msvc.h +++ b/include/eathread/internal/eathread_atomic_standalone_msvc.h @@ -65,11 +65,13 @@ #endif #if defined(EA_PROCESSOR_X86) - #define _InterlockedExchange64 _InterlockedExchange64_INLINE - #define _InterlockedExchangeAdd64 _InterlockedExchangeAdd64_INLINE - #define _InterlockedAnd64 _InterlockedAnd64_INLINE - #define _InterlockedOr64 _InterlockedOr64_INLINE - #define _InterlockedXor64 _InterlockedXor64_INLINE + #include + + #define _InterlockedExchange64 _InlineInterlockedExchange64 + #define _InterlockedExchangeAdd64 _InlineInterlockedExchangeAdd64 + #define _InterlockedAnd64 _InlineInterlockedAnd64 + #define _InterlockedOr64 _InlineInterlockedOr64 + #define _InterlockedXor64 _InlineInterlockedXor64 #endif #endif // EA_PLATFORM_MICROSOFT