aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 84fd3aeb01..8d4b087874 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3930,6 +3930,6 @@ vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)
rb_bug("dead canary found at %s: %s", insn, str);
}
-#elif !defined(MJIT_HEADER)
+#else
void Init_vm_stack_canary(void) { /* nothing to do */ }
#endif