Generalized compilation fix for old compilers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-11-01 01:16:01 +00:00
parent cd7ff8087b
commit 459f812bad
6 changed files with 9 additions and 6 deletions

View File

@@ -535,6 +535,10 @@
#define wxCHECK_GCC_VERSION( major, minor ) 0
#endif
#if defined(__BORLANDC__) || (defined(__GNUC__) && __GNUC__ < 3)
#define wxNEEDS_CHARPP
#endif
/*
This macro can be used to check that the version of mingw32 compiler is
at least maj.min