From: Michael Wetherell Date: Thu, 19 May 2005 17:03:10 +0000 (+0000) Subject: Warning fixes for Cygwin X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8490b71bf0872890ede63fa62b6de22e32cd49bb Warning fixes for Cygwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 3014c69377..f2e52808f6 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -59,7 +59,7 @@ #endif #if defined(__WINDOWS__) && !defined(__WXMICROWIN__) -#if !defined( __GNUWIN32__ ) && !defined( __MWERKS__ ) && !defined(__SALFORDC__) && !defined(__WXWINCE__) +#if !defined( __GNUWIN32__ ) && !defined( __MWERKS__ ) && !defined(__SALFORDC__) && !defined(__WXWINCE__) && !defined(__CYGWIN__) #include #include #include 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