From 317d85019de9aa09a9dc6b4c2e2b0b2de8988613 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Tue, 14 Jan 2003 18:30:15 +0000 Subject: [PATCH] #define HAVE_W32API_H for Cygwin/GCC 3.x, too. (backport) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18725 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 c0e84b250b..06e8070c1e 100644 --- a/include/wx/msw/gccpriv.h +++ b/include/wx/msw/gccpriv.h @@ -10,6 +10,10 @@ #define HAVE_W32API_H #endif #endif +#elif defined( __CYGWIN__ ) && !defined( HAVE_W32API_H ) + #if ( __GNUC__ > 2 ) + #define HAVE_W32API_H + #endif #endif // check for MinGW/Cygwin w32api version ( releases >= 0.5, only )