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.
1 parent ded62a5 commit 3ea744aCopy full SHA for 3ea744a
ext/json/ext/parser/extconf.rb
@@ -1,6 +1,7 @@
1
# frozen_string_literal: true
2
require 'mkmf'
3
4
+$defs << "-DJSON_DEBUG" if ENV["JSON_DEBUG"]
5
have_func("rb_enc_interned_str", "ruby/encoding.h") # RUBY_VERSION >= 3.0
6
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
7
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
0 commit comments