Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes of error C3861: identifier not found #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions include/eathread/internal/eathread_atomic_standalone_msvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Windows.h>

#define _InterlockedExchange64 _InlineInterlockedExchange64
#define _InterlockedExchangeAdd64 _InlineInterlockedExchangeAdd64
#define _InterlockedAnd64 _InlineInterlockedAnd64
#define _InterlockedOr64 _InlineInterlockedOr64
#define _InterlockedXor64 _InlineInterlockedXor64
#endif
#endif // EA_PLATFORM_MICROSOFT

Expand Down