forked from OSchip/llvm-project
Host: remove Yield on Windows
Windows provides a Yield function-like macro that allows a thread to yield the CPU. However, this conflicts with `Yield` in swift. Undefine `Yield` to allow building lldb with swift support. llvm-svn: 348556
This commit is contained in:
parent
8609e12b37
commit
17d176ef1f
|
@ -21,6 +21,7 @@
|
|||
#undef GetUserName
|
||||
#undef LoadImage
|
||||
#undef CreateProcess
|
||||
#undef Yield
|
||||
#undef far
|
||||
#undef near
|
||||
#undef FAR
|
||||
|
|
Loading…
Reference in New Issue