]> git.saurik.com Git - wxWidgets.git/commitdiff
workaround for simpler CW setup
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 May 2005 16:03:13 +0000 (16:03 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 May 2005 16:03:13 +0000 (16:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 79f795e0ade11a40d13a51e5856d3d6c6a03ef1d..6a9e046661a894643457718f942433bf60f01331 100644 (file)
     #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 */
     #define true ((bool)1)
     #define false ((bool)0)
 #endif
+#endif
 
 /*  for backwards compatibility, also define TRUE and FALSE */
 /*  */