From 0edbaa06082b71b451b2b9d4db37a00a0fdbe89c Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 12 Nov 2008 11:06:21 +0000 Subject: [PATCH] turn off stack trace symbols if built with NDEBUG git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27030 72102866-910b-0410-8b05-ffd578937521 --- Source/NSException.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/NSException.m b/Source/NSException.m index a77b2054e..cb334aef7 100644 --- a/Source/NSException.m +++ b/Source/NSException.m @@ -79,10 +79,10 @@ typedef struct { @defs(NSThread) } *TInfo; #endif /* - * Turn off STACKSYMBOLS if we don't have DEBUG defined ... if we are not built - * with DEBUG then we are probably missing stackframe information etc. + * Turn off STACKSYMBOLS if we have NDEBUG defined ... if we are built + * with NDEBUG then we are probably missing stackframe information etc. */ -#if !(defined(DEBUG)) +#if defined(NDEBUG) #if defined(STACKSYMBOLS) #undef STACKSYMBOLS #endif