2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Define platform.h ISC_PLATFORM_USEBACKTRACE with config.h USE_BACKTRACE

This commit is contained in:
Ondřej Surý
2018-09-04 10:09:24 +02:00
parent 3949450fbd
commit 510bb376e1
8 changed files with 40 additions and 48 deletions

View File

@@ -24,7 +24,7 @@
#include <isc/result.h>
#include <isc/util.h>
#ifdef ISC_PLATFORM_USEBACKTRACE
#ifdef USE_BACKTRACE
/*
* Getting a back trace of a running process is tricky and highly platform
* dependent. Our current approach is as follows:
@@ -52,9 +52,9 @@
#else
#define BACKTRACE_DISABLED
#endif /* HAVE_LIBCTRACE */
#else /* !ISC_PLATFORM_USEBACKTRACE */
#else /* USE_BACKTRACE */
#define BACKTRACE_DISABLED
#endif /* ISC_PLATFORM_USEBACKTRACE */
#endif /* USE_BACKTRACE */
#ifdef BACKTRACE_LIBC
isc_result_t