[*] MSVC 32bit build regression

This commit is contained in:
Reece Wilson 2024-12-13 20:36:22 +00:00
parent d8826b8428
commit c03a44e8b9

View File

@ -28,7 +28,9 @@
#endif
#endif
#if defined(AURORA_COMPILER_MSVC) && !defined(MemoryBarrier)
#if defined(AURORA_COMPILER_MSVC) && (defined(AURORA_ARCH_X86) || defined(MSVC_NO_FAST_FENCE))
#define AURORA_COMPILER_VOLATILE_BARRIER() { LONG Barrier; InterlockedOr(&Barrier, 0); }
#elif defined(AURORA_COMPILER_MSVC) && !defined(MemoryBarrier)
#define AURORA_COMPILER_VOLATILE_BARRIER() __faststorefence()
#elif defined(MemoryBarrier)
#define AURORA_COMPILER_VOLATILE_BARRIER() MemoryBarrier()