Skip to content

Commit 7c8af4b

Browse files
eregonbyroot
authored andcommitted
Update extconf.rb guard to use RUBY_ENGINE_VERSION
1 parent 2afd1a9 commit 7c8af4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/json/ext/parser/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
$defs << "-DJSON_DEBUG" if ENV.fetch("JSON_DEBUG", "0") != "0"
55

6-
if RUBY_ENGINE == 'truffleruby' && RUBY_VERSION < '4.0'
6+
if RUBY_ENGINE == 'truffleruby' && RUBY_ENGINE_VERSION < '40.0'
77
# Ref: https://github.com/truffleruby/truffleruby/issues/4329
88
# Ref: https://github.com/truffleruby/truffleruby/pull/4333
99
$defs << "-DJSON_TRUFFLERUBY_RB_CATCH_BUG"

0 commit comments

Comments
 (0)