summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 86d532c667..37bb26d50b 100644
--- a/vm.c
+++ b/vm.c
@@ -4472,6 +4472,11 @@ void Init_builtin_yjit(void) {}
// Whether YJIT is enabled or not, we load yjit_hook.rb to remove Kernel#with_yjit.
#include "yjit_hook.rbinc"
+// Stub for builtin function when not building ZJIT units
+#if !USE_ZJIT
+void Init_builtin_zjit(void) {}
+#endif
+
/* top self */
static VALUE