From: Julian Smart Date: Mon, 29 Mar 1999 08:55:03 +0000 (+0000) Subject: Undefed Yield symbol if defined, else syntax error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a3d0d1157ba147a11f0387e95f8c871baeea315 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 --- diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 1e642fd8e8..c3703a0456 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -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