From: Vadim Zeitlin Date: Wed, 1 May 2002 16:25:23 +0000 (+0000) Subject: fixed definition of TRUE broken by the last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/015eb67ed2a688789bdf84ad816915f2e0f4a8a5 fixed definition of TRUE broken by the last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 897d1addb3..f87619fa48 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -186,10 +186,13 @@ #ifndef WX_TRUE_DEFINED #undef TRUE #undef FALSE - #define TRUE ((bool)1) - #define FALSE ((bool)0) #endif #endif + + #ifndef TRUE + #define TRUE ((bool)1) + #define FALSE ((bool)0) + #endif #else // !__cplusplus // the definitions above don't work for C sources #ifndef TRUE