X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1777b9bbf4573dabecf4a3256d0d3c2c0c2a3fdf..3f3cec484dc9376e6a41faa0ac668c5439cb4bd9:/include/wx/thread.h diff --git a/include/wx/thread.h b/include/wx/thread.h index d4bb7aeac3..fc734e6878 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -134,7 +134,7 @@ private: // in order to avoid any overhead under !MSW make all wxCriticalSection class // functions inline - but this can't be done under MSW -#ifdef __WXMSW__ +#if defined(__WXMSW__) || defined(__WXPM__) class WXDLLEXPORT wxCriticalSectionInternal; #define WXCRITICAL_INLINE #else // !MSW @@ -352,7 +352,7 @@ void WXDLLEXPORT wxMutexGuiLeave(); #else // !wxUSE_THREADS -#include // for WXDLLEXPORT +#include "wx/defs.h" // for WXDLLEXPORT // no thread support inline void WXDLLEXPORT wxMutexGuiEnter() { }