workaround for simpler CW setup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-05-09 16:03:13 +00:00
parent 30eb969a19
commit 4403f2562e

View File

@ -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 */
/* */