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
This commit is contained in:
Václav Slavík 2003-07-04 17:04:02 +00:00
parent 65fb1c1160
commit c5c570b934

View File

@ -3,6 +3,10 @@
#ifndef _WX_MSW_GCCPRIV_H_ #ifndef _WX_MSW_GCCPRIV_H_
#define _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 defined( __MINGW32__ ) && !defined(__WINE__) && !defined( HAVE_W32API_H )
#if ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) ) #if ( __GNUC__ > 2 ) || ( ( __GNUC__ == 2 ) && ( __GNUC_MINOR__ >= 95 ) )
#include <_mingw.h> #include <_mingw.h>