mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
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:
parent
577da43f2c
commit
0edbaa0608
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue