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:
rfm 2008-11-12 11:06:21 +00:00
parent 577da43f2c
commit 0edbaa0608

View file

@ -79,10 +79,10 @@ typedef struct { @defs(NSThread) } *TInfo;
#endif #endif
/* /*
* Turn off STACKSYMBOLS if we don't have DEBUG defined ... if we are not built * Turn off STACKSYMBOLS if we have NDEBUG defined ... if we are built
* with DEBUG then we are probably missing stackframe information etc. * with NDEBUG then we are probably missing stackframe information etc.
*/ */
#if !(defined(DEBUG)) #if defined(NDEBUG)
#if defined(STACKSYMBOLS) #if defined(STACKSYMBOLS)
#undef STACKSYMBOLS #undef STACKSYMBOLS
#endif #endif