]> git.saurik.com Git - wxWidgets.git/commitdiff
Undefed Yield symbol if defined, else syntax error
authorJulian Smart <julian@anthemion.co.uk>
Mon, 29 Mar 1999 08:55:03 +0000 (08:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 29 Mar 1999 08:55:03 +0000 (08:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/thread.cpp

index 1e642fd8e81fb851421275c360b51a441bee85e8..c3703a04564e5a50aebbd31bb01b3cec1526a569 100644 (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