mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
Fix the use of sys::MemoryFence after including WindowsSupport.h that
r271558 introduced. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5fff0fe032
commit
e81d704f87
@ -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…
Reference in New Issue
Block a user