From d8cf40372ed64ba69f8d0d7c79bebdf293dd5d1e Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 2 Jun 2009 17:35:55 +0000 Subject: [PATCH] Undef MemoryFence when compiling on MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72732 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Atomic.cpp | 1 + 1 file changed, 1 insertion(+) 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() { -- 2.34.1