X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d69f2e34caebbe1b265814c9de60d7b41a06d561..27cc91429d3cfaa5f2de6de299a97da89bdab799:/include/wx/msw/gccpriv.h 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