X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c10faf1bdfc5b827c4361216cfd39e3bbf027a4..966a3b2cc63ee8ac81fe3095f2e0220504d95f49:/src/msw/thread.cpp?ds=sidebyside 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