From c5c570b9347b31c331bec63f3f64c20d0c9be482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 4 Jul 2003 17:04:02 +0000 Subject: [PATCH] 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 --- include/wx/msw/gccpriv.h | 4 ++++ 1 file changed, 4 insertions(+) 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>