aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/lua/ldo.c')
-rw-r--r--module/lua/ldo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/lua/ldo.c b/module/lua/ldo.c
index bf525588e..38bd4e08a 100644
--- a/module/lua/ldo.c
+++ b/module/lua/ldo.c
@@ -84,6 +84,8 @@ static intptr_t stack_remaining(void) {
#define JMP_BUF_CNT 18
#elif defined(__riscv)
#define JMP_BUF_CNT 64
+#elif defined(__loongarch_lp64)
+#define JMP_BUF_CNT 64
#else
#define JMP_BUF_CNT 1
#endif