]> git.saurik.com Git - wxWidgets.git/commitdiff
define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined...
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 4 Jul 2003 17:04:02 +0000 (17:04 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 4 Jul 2003 17:04:02 +0000 (17:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/gccpriv.h

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