summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-16 14:51:44 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-16 14:51:44 +0000
commit8911258e7ef77a8af15623a865f68ea349660d6b (patch)
treebfbb9bc341a77b45d9ccc9c769bbd217930f0bc3 /source3
parent8213a4dc2e971fc63b934b87873b272014f4931d (diff)
downloadsamba-8911258e7ef77a8af15623a865f68ea349660d6b.tar.gz
samba-8911258e7ef77a8af15623a865f68ea349660d6b.tar.bz2
samba-8911258e7ef77a8af15623a865f68ea349660d6b.zip
Only use backtrace variables when we can use them
(This used to be commit 17243c61b56c20c86b5d10be294d06addffedb6a)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index ddc20e492c..1adda85354 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1401,9 +1401,11 @@ void smb_panic(const char *why)
char *cmd;
int result;
size_t i;
+#ifdef HAVE_BACKTRACE_SYMBOLS
void *backtrace_stack[BACKTRACE_STACK_SIZE];
size_t backtrace_size;
char **backtrace_strings;
+#endif
#ifdef DEVELOPER
{