Host: remove Yield on Windows
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 7 Dec 2018 00:31:34 +0000 (00:31 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 7 Dec 2018 00:31:34 +0000 (00:31 +0000)
commit17d176ef1fc48b3c3a6b2ee8080914b19bfe78db
treede6c46d4958e984fa79e9018dda4026b4e43b59b
parent8609e12b3769ecffce8de7600aedd278c4edd56d
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
lldb/include/lldb/Host/windows/windows.h