X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d69f2e34caebbe1b265814c9de60d7b41a06d561..1f0acb435592470b421b80df854fbbb08cd2853f:/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