]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
panther fix
[wxWidgets.git] / src / unix / threadpsx.cpp
index 597f87eb8dab0f164b498bad88bf414aeabe6da1..ac55f84a1fb097074b70b04049c55a606ce8c555 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "thread.h"
 #endif
 
     #pragma implementation "thread.h"
 #endif
 
-#include "wx/defs.h"
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #if wxUSE_THREADS
 
 
 #if wxUSE_THREADS