From 21b132347d30f464623f40910be5888eb44045ae Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 24 Nov 2002 16:09:42 +0000 Subject: [PATCH] Compilation fix for EMX. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/thread.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/os2/thread.cpp b/src/os2/thread.cpp index db6ba06510..ad67a34b11 100644 --- a/src/os2/thread.cpp +++ b/src/os2/thread.cpp @@ -9,6 +9,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ + #pragma implementation "thread.h" +#endif + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -30,8 +34,9 @@ #define INCL_DOSPROCESS #define INCL_ERRORS #include +#ifndef __EMX__ #include - +#endif // the possible states of the thread ("=>" shows all possible transitions from // this state) enum wxThreadState