Skip to content

Commit d226418

Browse files
nobuk0kubun
authored andcommitted
[ruby/json] [ruby/json] Run have_func with the header providing the declarations
ruby/json@95fb084027 ruby/json@9d080765cc
1 parent 8a9c6e0 commit d226418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/parser/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
require 'mkmf'
33

4-
have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
4+
have_func("rb_enc_interned_str", "ruby/encoding.h") # RUBY_VERSION >= 3.0
55
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
66
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
77
have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby

0 commit comments

Comments
 (0)