Remove HAVE_W32API_H definition and checks
All still supported versions of MinGW/Cygwin provide w32api.h file, so there is no need to test for it. This allows to simplify the code, but also remove the definition of HAVE_W32API_H from bake- and makefiles and this, in turn, allows to get rid of extra flags in MinGW format entirely, as we don't support gcc 2.95 for which they were originally needed neither.
This commit is contained in:
@@ -72,18 +72,8 @@
|
||||
#define wxCHECK_MINGW32_VERSION( major, minor ) (0)
|
||||
#endif
|
||||
|
||||
#if defined( __MINGW32__ ) && !defined(__WINE__) && !defined( HAVE_W32API_H )
|
||||
#if __MINGW32_MAJOR_VERSION >= 1
|
||||
#define HAVE_W32API_H
|
||||
#endif
|
||||
#elif defined( __CYGWIN__ ) && !defined( HAVE_W32API_H )
|
||||
#define HAVE_W32API_H
|
||||
#endif
|
||||
|
||||
/* check for MinGW/Cygwin w32api version ( releases >= 0.5, only ) */
|
||||
#if defined( HAVE_W32API_H )
|
||||
#include <w32api.h>
|
||||
#endif
|
||||
|
||||
#if defined(__W32API_MAJOR_VERSION) && defined(__W32API_MINOR_VERSION)
|
||||
#define wxCHECK_W32API_VERSION( major, minor ) \
|
||||
|
Reference in New Issue
Block a user