X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d69f2e34caebbe1b265814c9de60d7b41a06d561..2fd716136a961ab6038996343e42257c2d81aac2:/include/wx/msw/gccpriv.h?ds=inline diff --git a/include/wx/msw/gccpriv.h b/include/wx/msw/gccpriv.h index e90318cf08..b449670d94 100644 --- a/include/wx/msw/gccpriv.h +++ b/include/wx/msw/gccpriv.h @@ -18,7 +18,7 @@ #define __GNUWIN32__ #endif -#if ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) ) +#if defined(__MINGW32__) && ( ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) ) ) #include <_mingw.h> #endif @@ -32,7 +32,7 @@ #endif #endif -#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200) +#if wxCHECK_WATCOM_VERSION(1,0) #define HAVE_W32API_H #endif