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:
Saleem Abdulrasool 2018-12-07 00:31:34 +00:00
parent 8609e12b37
commit 17d176ef1f
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#undef GetUserName
#undef LoadImage
#undef CreateProcess
#undef Yield
#undef far
#undef near
#undef FAR