]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/thread.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / palmos / thread.cpp
index 625fb082a38486447c38111bfdb02453e36d01eb..5dbbbdcea1dc295a19a9a64b5e9defc55c7348fe 100644 (file)
     #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
@@ -591,4 +591,3 @@ bool WXDLLIMPEXP_BASE wxIsWaitingForThread()
 #include "wx/thrimpl.cpp"
 
 #endif // wxUSE_THREADS
-