We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
have_func
1 parent 829f4bc commit 95fb084Copy full SHA for 95fb084
ext/json/ext/parser/extconf.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
require 'mkmf'
3
4
-have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
+have_func("rb_enc_interned_str", "ruby/encoding.h") # RUBY_VERSION >= 3.0
5
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
6
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
7
have_func("strnlen", "string.h") # Missing on Solaris 10
0 commit comments