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:
parent
a6f95a9f85
commit
959e271059
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user