Mercurial > audlegacy
changeset 4789:0b44f32ea243
It is idiotic to exclude that printf out of the #ifdefs if it uses
variables defined only inside the #ifdef... Fixed.
author | Jonathan Schleifer <js-audacious@webkeks.org> |
---|---|
date | Thu, 02 Oct 2008 23:20:04 +0200 |
parents | 7da84f662ce2 |
children | 7d2882c8a37a |
files | src/audacious/strings.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/strings.c Thu Oct 02 23:17:53 2008 +0200 +++ b/src/audacious/strings.c Thu Oct 02 23:20:04 2008 +0200 @@ -327,11 +327,9 @@ gchar **symbols; nsymbols = backtrace(addrbuf, nsymmax); symbols = backtrace_symbols(addrbuf, nsymbols); -#endif fprintf(stderr, "WARNING! String '%s' was not UTF-8! Backtrace (%d):\n", str, nsymbols); -#ifdef HAVE_EXECINFO for (i = 0; i < nsymbols; i++) fprintf(stderr, "#%d > %s\n", i, symbols[i]);