X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..e487524e492809638b7e335937c41fd432458a54:/include/wx/wxprec.h diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index 71018481a8..f51d04c60b 100644 --- a/include/wx/wxprec.h +++ b/include/wx/wxprec.h @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// // 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 @@ -57,5 +57,8 @@ #undef FindResource #endif +#else + // always include this file (under Unix it's generated by configure) + #include "wx/setup.h" #endif