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 3b0ece171..ecdb80020 100644
--- a/module/lua/ldo.c
+++ b/module/lua/ldo.c
@@ -63,6 +63,8 @@
#define JMP_BUF_CNT 12
#elif defined(__s390x__)
#define JMP_BUF_CNT 18
+#elif defined(__riscv)
+#define JMP_BUF_CNT 64
#else
#define JMP_BUF_CNT 1
#endif