[a64] Fix MSVC-ARM64 MemoryBarrier preprocessor conflict (#927)
Fixes a build error on MSVC when building for ARM.
This commit is contained in:
@@ -24,6 +24,11 @@
|
||||
#include "xenia/cpu/hir/value.h"
|
||||
#include "xenia/cpu/mmio_handler.h"
|
||||
|
||||
#if defined(XE_COMPILER_MSVC) && defined(XE_ARCH_ARM64)
|
||||
// winnt.h defines `MemoryBarrier` as a macro on ARM-MSVC
|
||||
#undef MemoryBarrier
|
||||
#endif
|
||||
|
||||
namespace xe {
|
||||
namespace cpu {
|
||||
namespace hir {
|
||||
|
||||
Reference in New Issue
Block a user