1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Undef MemoryFence, which is defined to _mm_mfence by winnt.h

llvm-svn: 295014
This commit is contained in:
Reid Kleckner 2017-02-14 01:38:14 +00:00
parent e420d88d86
commit d1fdba9087

View File

@ -20,6 +20,11 @@
#include "llvm/Support/DataTypes.h"
// Windows will at times define MemoryFence.
#ifdef MemoryFence
#undef MemoryFence
#endif
namespace llvm {
namespace sys {
void MemoryFence();