mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
88257ba990
commit
56e23e060e
2 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue