X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03f38c58fdd36b1e951dfed81b245a7337bbc3b4..8aa4edd248534c4c1879c93d363d1b7fb8e8c5c6:/include/wx/wxprec.h diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index f51d04c60b..b7c00c4f70 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(__WXMSW__) +#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__)) && defined(__WXMSW__) #if !NOPCH #define WX_PRECOMP #endif @@ -27,7 +27,9 @@ // Comment this out if you don't mind slower compilation of the wxWindows // library +#ifndef __WXMAC__ #include +#endif #ifdef GetClassInfo #undef GetClassInfo