1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix the use of sys::MemoryFence after including WindowsSupport.h that

r271558 introduced.

llvm-svn: 271563
This commit is contained in:
Chandler Carruth 2016-06-02 18:42:23 +00:00
parent a6f95a9f85
commit 959e271059

View File

@ -72,6 +72,11 @@ void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData,
#include "Windows/WindowsSupport.h"
#include <process.h>
// Windows will at times define MemoryFence.
#ifdef MemoryFence
#undef MemoryFence
#endif
struct ThreadInfo {
void (*func)(void*);
void *param;