changes needed for compilation with Project Builder

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-02-24 17:58:30 +00:00
parent f809133f9e
commit 67087ab455
2 changed files with 23 additions and 3 deletions

View File

@@ -140,6 +140,9 @@
#if (__MWERKS__ >= 0x1000) && __option(bool)
#define HAVE_BOOL
#endif
#elif defined(__APPLE__) && defined(__APPLE_CC__)
// Apple bundled gcc supports bool
#define HAVE_BOOL
#elif defined(__VISUALC__) && (__VISUALC__ == 1020)
// in VC++ 4.2 the bool keyword is reserved (hence can't be typedefed)
// but not implemented, so we must #define it