From 4403f2562e8908622ccce22b0fd954cef834a638 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 9 May 2005 16:03:13 +0000 Subject: [PATCH] workaround for simpler CW setup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/defs.h b/include/wx/defs.h index 79f795e0ad..6a9e046661 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -170,6 +170,7 @@ #endif /* compilers */ #endif /* HAVE_BOOL */ +#if !defined(__MWERKS__) || !defined(true) #if !defined(HAVE_BOOL) && !defined(bool) && !defined(VMS) /* NB: of course, this doesn't replace the standard type, because, for */ /* example, overloading based on bool/int parameter doesn't work and */ @@ -185,6 +186,7 @@ #define true ((bool)1) #define false ((bool)0) #endif +#endif /* for backwards compatibility, also define TRUE and FALSE */ /* */