X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26128999a7e2bc05024e09ba2658d4a6ab87accd..c16e5a9271ab576a76c8537b67e0f5e25f90bc67:/src/msw/thread.cpp?ds=inline 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