[*] MSVC build regression
This commit is contained in:
parent
782d788531
commit
683e383095
@ -67,7 +67,9 @@
|
||||
#define AUKN_INTERFACE_EXT AUI_INTERFACE_EXT_FWD
|
||||
#endif
|
||||
|
||||
#if defined(MemoryBarrier)
|
||||
#if defined(AURORA_COMPILER_MSVC) && !defined(MemoryBarrier)
|
||||
#define AURORA_COMPILER_VOLATILE_BARRIER() __faststorefence()
|
||||
#elif defined(MemoryBarrier)
|
||||
#define AURORA_COMPILER_VOLATILE_BARRIER() MemoryBarrier()
|
||||
#else
|
||||
#define AURORA_COMPILER_VOLATILE_BARRIER() asm volatile ("" : : : "memory")
|
||||
|
Loading…
Reference in New Issue
Block a user