lib:util: Fix checking for config.h #define in fault.c
authorAndreas Schneider <asn@samba.org>
Thu, 13 Dec 2018 17:48:03 +0000 (18:48 +0100)
committerGary Lockyer <gary@samba.org>
Sun, 16 Dec 2018 20:04:09 +0000 (21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/util/fault.c

index 1b56361..bde20e3 100644 (file)
@@ -248,7 +248,7 @@ void log_stack_trace(void)
 libunwind_failed:
        DEBUG(0, ("unable to produce a stack trace with libunwind\n"));
 
-#elif HAVE_BACKTRACE_SYMBOLS
+#elif defined(HAVE_BACKTRACE_SYMBOLS)
        void *backtrace_stack[BACKTRACE_STACK_SIZE];
        size_t backtrace_size;
        char **backtrace_strings;