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:
@@ -440,6 +440,10 @@ bool wxThread::IsMain()
|
|||||||
return ::GetCurrentThreadId() == s_idMainThread;
|
return ::GetCurrentThreadId() == s_idMainThread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Yield
|
||||||
|
#undef Yield
|
||||||
|
#endif
|
||||||
|
|
||||||
void wxThread::Yield()
|
void wxThread::Yield()
|
||||||
{
|
{
|
||||||
// 0 argument to Sleep() is special
|
// 0 argument to Sleep() is special
|
||||||
|
Reference in New Issue
Block a user