commit | d8cf40372ed64ba69f8d0d7c79bebdf293dd5d1e | [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 | 8900bcc1ff60d2ce2ec55700c74814de7a603164 [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() {