summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mjit_c.rb')
-rw-r--r--mjit_c.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_c.rb b/mjit_c.rb
index 460bea7925..05cd53dc4b 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -767,4 +767,4 @@ module RubyVM::MJIT
end
### MJIT bindgen end ###
-end if RubyVM::MJIT.enabled?
+end if RubyVM::MJIT.enabled? && RubyVM::MJIT.const_defined?(:C) # not defined for miniruby