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:
@@ -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
|
||||
|
Reference in New Issue
Block a user