From e822273ae06f802550bc2627ffaf45d14f773721 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Aug 2005 21:03:41 +0000 Subject: [PATCH] __WXDEBUG__ must be tested with #ifdef, not #if git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 7f666b955e..da0b261d9f 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -565,7 +565,7 @@ DEFINE_ONE_SHOT_HANDLER_GETTER( wxMacAppEventHandler ) WXIMPORT char std::__throws_bad_alloc ; #endif -#if __WXDEBUG__ +#ifdef __WXDEBUG__ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 options, const char *assertionString, const char *exceptionLabelString, @@ -619,7 +619,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv) { // Mac-specific -#if __WXDEBUG__ +#ifdef __WXDEBUG__ InstallDebugAssertOutputHandler ( NewDebugAssertOutputHandlerUPP( wxMacAssertOutputHandler ) ); #endif UMAInitToolbox( 4, sm_isEmbedded ) ; -- 2.45.2