commit | 866d3cc445dc28400845d7f46e70861a75c74b6e | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jun 02 17:35:55 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jun 02 17:35:55 2009 +0000 |
tree | e5b4f2352a5ec552b4ab53f9aa078b004287410f | |
parent | 078d9cf1ce4d96dbe032668cdcec8bb923e1c399 [diff] [blame] |
Undef MemoryFence when compiling on MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72732 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Atomic.cpp b/lib/System/Atomic.cpp index 8c61ff1..cefd0bb 100644 --- a/lib/System/Atomic.cpp +++ b/lib/System/Atomic.cpp
@@ -18,6 +18,7 @@ #if defined(_MSC_VER) #include <windows.h> +#undef MemoryFence #endif void sys::MemoryFence() {