/////////////////////////////////////////////////////////////////////////////
// check if to use precompiled headers
-#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__GNUWIN32__)) // && !defined(WXMAKINGDLL)
+#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__)) && defined(__WXMSW__)
#if !NOPCH
#define WX_PRECOMP
#endif
// Comment this out if you don't mind slower compilation of the wxWindows
// library
+#ifndef __WXMAC__
#include <windows.h>
+#endif
#ifdef GetClassInfo
#undef GetClassInfo
#undef FindResource
#endif
+#else
+ // always include this file (under Unix it's generated by configure)
+ #include "wx/setup.h"
#endif