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
This commit is contained in:
Richard Frith-MacDonald 2008-11-12 11:06:21 +00:00
parent 88a0a5bc54
commit 353b1d75c7

View file

@ -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