Skip to content

Commit 54a5354

Browse files
authored
Merge branch 'htop-dev:main' into main
2 parents 23cc042 + bf17a7e commit 54a5354

File tree

3 files changed

+697
-387
lines changed

3 files changed

+697
-387
lines changed

CRT.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ in the source distribution for its full text.
2929
#include <sys/mman.h>
3030
#endif
3131

32-
#if defined(HAVE_LIBUNWIND_H) && defined(HAVE_LIBUNWIND)
32+
#if defined(HAVE_LIBUNWIND) && defined(HAVE_LOCAL_UNWIND)
3333
# define PRINT_BACKTRACE
3434
# define UNW_LOCAL_ONLY
3535
# include <libunwind.h>
@@ -1346,7 +1346,7 @@ void CRT_setColors(int colorScheme) {
13461346

13471347
#ifdef PRINT_BACKTRACE
13481348
static void print_backtrace(void) {
1349-
#if defined(HAVE_LIBUNWIND_H) && defined(HAVE_LIBUNWIND)
1349+
#if defined(HAVE_LIBUNWIND) && defined(HAVE_LOCAL_UNWIND)
13501350
unw_context_t context;
13511351
unw_getcontext(&context);
13521352

0 commit comments

Comments
 (0)