X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..8466fc74fa494ee7b4dccf36f7d2c292e2efd5a8:/src/palmos/thread.cpp?ds=sidebyside diff --git a/src/palmos/thread.cpp b/src/palmos/thread.cpp index 625fb082a3..cd2e55d310 100644 --- a/src/palmos/thread.cpp +++ b/src/palmos/thread.cpp @@ -20,21 +20,21 @@ #pragma hdrstop #endif +#if wxUSE_THREADS + +#include "wx/thread.h" + #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/app.h" + #include "wx/module.h" #endif -#if wxUSE_THREADS - #include "wx/apptrait.h" #include "wx/palmos/private.h" #include "wx/palmos/missing.h" -#include "wx/module.h" -#include "wx/thread.h" - // must have this symbol defined to get _beginthread/_endthread declarations #ifndef _MT #define _MT @@ -557,11 +557,11 @@ void wxThreadModule::OnExit() // not a mutex, so the names are a bit confusing // ---------------------------------------------------------------------------- -void WXDLLIMPEXP_BASE wxMutexGuiEnter() +void wxMutexGuiEnterImpl() { } -void WXDLLIMPEXP_BASE wxMutexGuiLeave() +void wxMutexGuiLeaveImpl() { } @@ -591,4 +591,3 @@ bool WXDLLIMPEXP_BASE wxIsWaitingForThread() #include "wx/thrimpl.cpp" #endif // wxUSE_THREADS -