[Lldb-commits] [lldb] r348556 - Host: remove Yield on Windows
Saleem Abdulrasool via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 6 16:31:34 PST 2018
Author: compnerd
Date: Thu Dec 6 16:31:34 2018
New Revision: 348556
URL: http://llvm.org/viewvc/llvm-project?rev=348556&view=rev
Log:
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.
Modified:
lldb/trunk/include/lldb/Host/windows/windows.h
Modified: lldb/trunk/include/lldb/Host/windows/windows.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/windows/windows.h?rev=348556&r1=348555&r2=348556&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/windows/windows.h (original)
+++ lldb/trunk/include/lldb/Host/windows/windows.h Thu Dec 6 16:31:34 2018
@@ -21,6 +21,7 @@
#undef GetUserName
#undef LoadImage
#undef CreateProcess
+#undef Yield
#undef far
#undef near
#undef FAR
More information about the lldb-commits
mailing list