From 9b1ed4c5c6b1f917047f4e8d9c4e046c7e69e8e1 Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 4 Mar 2004 17:45:00 +0000 Subject: Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER from vtysh ([quagga-dev 932]). --- lib/debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/debug.c') diff --git a/lib/debug.c b/lib/debug.c index c4b67a52..252e4dd7 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -4,6 +4,7 @@ void debug_print_trace (int signal) { +#ifdef HAVE_GLIBC_BACKTRACE void *array[10]; size_t size; char **strings; @@ -18,6 +19,7 @@ debug_print_trace (int signal) printf ("%s\n", strings[i]); free (strings); +#endif /* HAVE_GLIBC_BACKTRACE */ exit(1); } -- cgit v1.2.3