Undefed Yield symbol if defined, else syntax error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-03-29 08:55:03 +00:00
parent 1d3dbc7b63
commit 0a3d0d1157

View File

@ -440,6 +440,10 @@ bool wxThread::IsMain()
return ::GetCurrentThreadId() == s_idMainThread;
}
#ifdef Yield
#undef Yield
#endif
void wxThread::Yield()
{
// 0 argument to Sleep() is special