don't use wxCHECK_GCC_VERSION in the same test as __MINGW32__/__CYGWIN32__ as it could be undefined (DEC cc warning fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a09f8377ec
commit
f1f5039b45
@ -252,10 +252,11 @@ typedef int wxWindowID;
|
||||
#if defined(__VISUALC__) && (__VISUALC__ >= 1100)
|
||||
/* VC++ 6.0 and 5.0 have C++ casts (what about earlier versions?) */
|
||||
#define HAVE_CXX_CASTS
|
||||
#elif ( defined(__MINGW32__) || defined(__CYGWIN32__) ) \
|
||||
&& wxCHECK_GCC_VERSION(2, 95)
|
||||
/* GCC 2.95 has C++ casts, what about earlier versions? */
|
||||
#define HAVE_CXX_CASTS
|
||||
#elif defined(__MINGW32__) || defined(__CYGWIN32__)
|
||||
#if wxCHECK_GCC_VERSION(2, 95)
|
||||
/* GCC 2.95 has C++ casts, what about earlier versions? */
|
||||
#define HAVE_CXX_CASTS
|
||||
#endif
|
||||
#endif
|
||||
#endif /* !HAVE_CXX_CASTS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user