aboutsummaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_err.c')
-rw-r--r--src/lj_err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index 5ec81302..56ca0c37 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -63,7 +63,7 @@
63** EXT is mandatory on POSIX/x64 since the interpreter doesn't save r12/r13. 63** EXT is mandatory on POSIX/x64 since the interpreter doesn't save r12/r13.
64*/ 64*/
65 65
66#if defined(__ELF__) || defined(__MACH__) 66#if defined(__GNUC__)
67#if LJ_TARGET_X86 67#if LJ_TARGET_X86
68#ifdef LUAJIT_UNWIND_EXTERNAL 68#ifdef LUAJIT_UNWIND_EXTERNAL
69#define LJ_UNWIND_EXT 1 69#define LJ_UNWIND_EXT 1
@@ -532,7 +532,7 @@ static void *err_unwind(lua_State *L, void *stopcf, int errcode)
532 532
533/* -- External frame unwinding -------------------------------------------- */ 533/* -- External frame unwinding -------------------------------------------- */
534 534
535#if defined(__ELF__) || defined(__MACH__) 535#if defined(__GNUC__)
536 536
537#include <unwind.h> 537#include <unwind.h>
538 538