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:
@@ -170,6 +170,7 @@
|
|||||||
#endif /* compilers */
|
#endif /* compilers */
|
||||||
#endif /* HAVE_BOOL */
|
#endif /* HAVE_BOOL */
|
||||||
|
|
||||||
|
#if !defined(__MWERKS__) || !defined(true)
|
||||||
#if !defined(HAVE_BOOL) && !defined(bool) && !defined(VMS)
|
#if !defined(HAVE_BOOL) && !defined(bool) && !defined(VMS)
|
||||||
/* NB: of course, this doesn't replace the standard type, because, for */
|
/* NB: of course, this doesn't replace the standard type, because, for */
|
||||||
/* example, overloading based on bool/int parameter doesn't work and */
|
/* example, overloading based on bool/int parameter doesn't work and */
|
||||||
@@ -185,6 +186,7 @@
|
|||||||
#define true ((bool)1)
|
#define true ((bool)1)
|
||||||
#define false ((bool)0)
|
#define false ((bool)0)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* for backwards compatibility, also define TRUE and FALSE */
|
/* for backwards compatibility, also define TRUE and FALSE */
|
||||||
/* */
|
/* */
|
||||||
|
Reference in New Issue
Block a user