Allow backtrace on non-x86 platforms

pull/3950/head
Aaron Kling 2024-04-05 15:00:07 -05:00
parent 972a9e03af
commit 2b730601e0
1 changed files with 1 additions and 1 deletions

View File

@ -85,6 +85,7 @@ RETSIGTYPE zm_die_handler(int signal)
}
}
#endif // ( HAVE_SIGINFO_T && HAVE_UCONTEXT_T )
#endif // (defined(__i386__) || defined(__x86_64__)
// Print backtrace if enabled and available
@ -128,7 +129,6 @@ RETSIGTYPE zm_die_handler(int signal)
Error("%s", cmd);
}
#endif // ( !defined(ZM_NO_CRASHTRACE) && HAVE_DECL_BACKTRACE && HAVE_DECL_BACKTRACE_SYMBOLS )
#endif // (defined(__i386__) || defined(__x86_64__)
// Icon: Don't exit, setting zm_terminate should cause the exit to happen in a timely manner.
// The main reason not to here is to make valgrind traces quieter because logger gets free while other threads
// are still running and trying to log.