mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
bt_print and bt_exit is enclosed in the conditional
This commit is contained in:
committed by
Christian Decker
parent
1a55147870
commit
d3d195dd85
@@ -84,10 +84,9 @@ void daemon_setup(const char *argv0,
|
|||||||
{
|
{
|
||||||
err_set_progname(argv0);
|
err_set_progname(argv0);
|
||||||
|
|
||||||
|
#if BACKTRACE_SUPPORTED
|
||||||
bt_print = backtrace_print;
|
bt_print = backtrace_print;
|
||||||
bt_exit = backtrace_exit;
|
bt_exit = backtrace_exit;
|
||||||
|
|
||||||
#if BACKTRACE_SUPPORTED
|
|
||||||
#if DEVELOPER
|
#if DEVELOPER
|
||||||
/* Suppresses backtrace (breaks valgrind) */
|
/* Suppresses backtrace (breaks valgrind) */
|
||||||
if (!getenv("LIGHTNINGD_DEV_NO_BACKTRACE"))
|
if (!getenv("LIGHTNINGD_DEV_NO_BACKTRACE"))
|
||||||
|
|||||||
Reference in New Issue
Block a user