X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d69f2e34caebbe1b265814c9de60d7b41a06d561..38113684016c5ecbc65985bee3c6c7b318c012cf:/include/wx/msw/gccpriv.h diff --git a/include/wx/msw/gccpriv.h b/include/wx/msw/gccpriv.h index e90318cf08..bb557b4cc0 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