mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Speculative fix for Windows build after r220932
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b57390110
commit
9eb0a09710
@ -1,5 +1,10 @@
|
||||
#include <winbase.h>
|
||||
|
||||
#ifdef MemoryFence
|
||||
// WinNT.h seems to define a MemoryFence macro.
|
||||
#undef MemoryFence
|
||||
#endif
|
||||
|
||||
void llvm::call_once(once_flag &flag, void (*fptr)(void)) {
|
||||
while (flag != Done) {
|
||||
if (flag == Wait) {
|
||||
|
Loading…
Reference in New Issue
Block a user