mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-01 04:21:07 +00:00
Tweak to dusable stacktrace when built without debug information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f0892499e5
commit
1ce0c09e21
2 changed files with 12 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Source/Additions/GSMime.m: Fix some cases where parse was saying
|
||||
it needed more data even though it had actually completed.
|
||||
* Source/NSException.m: Don't add stacktrace information if we are
|
||||
not building with debug on.
|
||||
|
||||
2006-05-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -46,6 +46,16 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Turn off STACKTRACE if we don't have DEBUG defined ... if we are not built
|
||||
* with DEBUG then we are probably missing stackframe information etc.
|
||||
*/
|
||||
#if !(defined(DEBUG))
|
||||
#if defined(STACKTRACE)
|
||||
#undef STACKTRACE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(STACKTRACE)
|
||||
|
||||
// GSStackTrace inspired by FYStackTrace.m
|
||||
|
|
Loading…
Reference in a new issue