/////////////////////////////////////////////////////////////////////////////
// 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(__GNUWIN32__)) && defined(__WXMSW__)
#if !NOPCH
#define WX_PRECOMP
#endif
#undef FindResource
#endif
+#else
+ // always include this file (under Unix it's generated by configure)
+ #include "wx/setup.h"
#endif