From: Owen Anderson Date: Tue, 2 Jun 2009 17:35:55 +0000 (+0000) Subject: Undef MemoryFence when compiling on MSVC. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d8cf40372ed64ba69f8d0d7c79bebdf293dd5d1e;p=oota-llvm.git 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 8c61ff1069f..cefd0bbf553 100644 --- a/lib/System/Atomic.cpp +++ b/lib/System/Atomic.cpp @@ -18,6 +18,7 @@ using namespace llvm; #if defined(_MSC_VER) #include +#undef MemoryFence #endif void sys::MemoryFence() {