Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CRT.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ in the source distribution for its full text.
#include <sys/mman.h>
#endif

#if defined(HAVE_LIBUNWIND_H) && defined(HAVE_LIBUNWIND)
#if defined(HAVE_LIBUNWIND) && defined(HAVE_LOCAL_UNWIND)
# define PRINT_BACKTRACE
# define UNW_LOCAL_ONLY
# include <libunwind.h>
Expand Down Expand Up @@ -1346,7 +1346,7 @@ void CRT_setColors(int colorScheme) {

#ifdef PRINT_BACKTRACE
static void print_backtrace(void) {
#if defined(HAVE_LIBUNWIND_H) && defined(HAVE_LIBUNWIND)
#if defined(HAVE_LIBUNWIND) && defined(HAVE_LOCAL_UNWIND)
unw_context_t context;
unw_getcontext(&context);

Expand Down
Loading
Loading