diff options
Diffstat (limited to 'src/base/atomicops-internals-x86-msvc.h')
-rw-r--r-- | src/base/atomicops-internals-x86-msvc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/atomicops-internals-x86-msvc.h b/src/base/atomicops-internals-x86-msvc.h index 8d10de4..cce120c 100644 --- a/src/base/atomicops-internals-x86-msvc.h +++ b/src/base/atomicops-internals-x86-msvc.h @@ -99,7 +99,7 @@ inline AtomicWord Release_CompareAndSwap(volatile AtomicWord* ptr, } // In msvc8/vs2005, winnt.h already contains a definition for MemoryBarrier. -#if !(COMPILER_MSVC && _MSC_VER >= 1400) +#if !(defined(_MSC_VER) && _MSC_VER >= 1400) inline void MemoryBarrier() { AtomicWord value = 0; AtomicExchange(&value, 0); // acts as a barrier |