diff options
author | Mathias Stearn <mathias@10gen.com> | 2009-12-02 12:33:14 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2009-12-02 12:33:14 -0500 |
commit | 01d596cfe4e39ebf1ccbf42e60843e89340f2669 (patch) | |
tree | 710a03eed92bc24bed17f65dc38854004bb40a22 | |
parent | f5c9a86b92343fd718129e6caceefc67e00a0ff5 (diff) | |
download | mongo-01d596cfe4e39ebf1ccbf42e60843e89340f2669.tar.gz |
typo: MSCV -> MSVC
-rw-r--r-- | util/goodies.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/goodies.h b/util/goodies.h index 21ade5f85b8..20834be61af 100644 --- a/util/goodies.h +++ b/util/goodies.h @@ -19,7 +19,7 @@ #pragma once -#if defined(__MSCV__) +#if defined(__MSVC__) # include <windows.h> #endif @@ -123,7 +123,7 @@ namespace mongo { // returns original value (like x++) WrappingInt atomicIncrement(){ -#if defined(__MSCV__) +#if defined(__MSVC__) // InterlockedIncrement returns the new value return InterlockedIncrement((volatile long*)&x)-1; //long is 32bits in Win64 #elif defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) |