We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e136be5 + 95a1ebe commit c73f894Copy full SHA for c73f894
CRT.c
@@ -29,7 +29,7 @@ in the source distribution for its full text.
29
#include <sys/mman.h>
30
#endif
31
32
-#if defined(HAVE_LIBUNWIND_H) && defined(HAVE_LIBUNWIND)
+#if defined(HAVE_LIBUNWIND) && defined(HAVE_LOCAL_UNWIND)
33
# define PRINT_BACKTRACE
34
# define UNW_LOCAL_ONLY
35
# include <libunwind.h>
@@ -1346,7 +1346,7 @@ void CRT_setColors(int colorScheme) {
1346
1347
#ifdef PRINT_BACKTRACE
1348
static void print_backtrace(void) {
1349
1350
unw_context_t context;
1351
unw_getcontext(&context);
1352
0 commit comments