From: Václav Slavík Date: Fri, 4 Jul 2003 17:04:02 +0000 (+0000) Subject: define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c5c570b9347b31c331bec63f3f64c20d0c9be482?ds=sidebyside define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined on command line git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/gccpriv.h b/include/wx/msw/gccpriv.h index de45b8160a..e4d4cc2b57 100644 --- a/include/wx/msw/gccpriv.h +++ b/include/wx/msw/gccpriv.h @@ -3,6 +3,10 @@ #ifndef _WX_MSW_GCCPRIV_H_ #define _WX_MSW_GCCPRIV_H_ +#if defined(__MINGW32__) && !defined(__GNUWIN32__) + #define __GNUWIN32__ +#endif + #if defined( __MINGW32__ ) && !defined(__WINE__) && !defined( HAVE_W32API_H ) #if ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) ) #include <_mingw.h>