diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-02 17:35:55 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-02 17:35:55 +0000 |
commit | 5bd914d0aefa7153b54922a1ebe8c087d39f781d (patch) | |
tree | 1627dc7dcaef149f160c3e8638a6ff8ef6ab743b /llvm/lib/System | |
parent | 9643e4f98519149ae8ea4987405b102a1a51a860 (diff) | |
download | bcm5719-llvm-5bd914d0aefa7153b54922a1ebe8c087d39f781d.tar.gz bcm5719-llvm-5bd914d0aefa7153b54922a1ebe8c087d39f781d.zip |
Undef MemoryFence when compiling on MSVC.
llvm-svn: 72732
Diffstat (limited to 'llvm/lib/System')
-rw-r--r-- | llvm/lib/System/Atomic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Atomic.cpp b/llvm/lib/System/Atomic.cpp index 8c61ff1069f..cefd0bbf553 100644 --- a/llvm/lib/System/Atomic.cpp +++ b/llvm/lib/System/Atomic.cpp @@ -18,6 +18,7 @@ using namespace llvm; #if defined(_MSC_VER) #include <windows.h> +#undef MemoryFence #endif void sys::MemoryFence() { |