[*] MSVC 32bit build regression
This commit is contained in:
parent
d8826b8428
commit
c03a44e8b9
@ -28,7 +28,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#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()
|
#define AURORA_COMPILER_VOLATILE_BARRIER() __faststorefence()
|
||||||
#elif defined(MemoryBarrier)
|
#elif defined(MemoryBarrier)
|
||||||
#define AURORA_COMPILER_VOLATILE_BARRIER() MemoryBarrier()
|
#define AURORA_COMPILER_VOLATILE_BARRIER() MemoryBarrier()
|
||||||
|
Loading…
Reference in New Issue
Block a user