X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1dfc3cda6eb139a87773646aacde950c9c45126a..7a23b2e6970523ea6d4eb836a58e34387ef99d37:/src/unix/threadpsx.cpp diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 1b93fa7f52..ac55f84a1f 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -21,11 +21,12 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "thread.h" #endif -#include "wx/defs.h" +// for compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #if wxUSE_THREADS @@ -1183,8 +1184,6 @@ wxThreadError wxThread::Create(unsigned int WXUNUSED(stackSize)) return wxTHREAD_NO_RESOURCE; } - m_state = STATE_NEW; - return wxTHREAD_NO_ERROR; }