forked from OSchip/llvm-project
Undef MemoryFence when compiling on MSVC.
llvm-svn: 72732
This commit is contained in:
parent
9643e4f985
commit
5bd914d0ae
|
@ -18,6 +18,7 @@ using namespace llvm;
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
#include <windows.h>
|
||||
#undef MemoryFence
|
||||
#endif
|
||||
|
||||
void sys::MemoryFence() {
|
||||
|
|
Loading…
Reference in New Issue