From 015eb67ed2a688789bdf84ad816915f2e0f4a8a5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 1 May 2002 16:25:23 +0000 Subject: [PATCH] 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 --- include/wx/defs.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.50.0