[a64] Fix MSVC-ARM64 MemoryBarrier preprocessor conflict (#927)

Fixes a build error on MSVC when building for ARM.
This commit is contained in:
Wunk
2026-03-23 00:49:13 -07:00
committed by GitHub
parent f2a90ce86d
commit a88cd5dec7

View File

@@ -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 {