summaryrefslogtreecommitdiff
path: root/ext/json/parser/extconf.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-11-06 12:51:06 +0900
committerJean Boussier <[email protected]>2024-11-06 23:31:30 +0100
commit8254f6492c49ce7ace6b12af981034083066176e (patch)
tree61ee11a49b28923651fb5814a437dbdfd414c8e8 /ext/json/parser/extconf.rb
parentfdc82cca83bbbfe88f90d2888e139a6dde481101 (diff)
[ruby/json] Categorize deprecated warning
https://github.com/ruby/json/commit/1acce7aceb
Diffstat (limited to 'ext/json/parser/extconf.rb')
-rw-r--r--ext/json/parser/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/parser/extconf.rb b/ext/json/parser/extconf.rb
index f9104de12d..4c1ac52a7f 100644
--- a/ext/json/parser/extconf.rb
+++ b/ext/json/parser/extconf.rb
@@ -5,6 +5,7 @@ have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
have_func("rb_gc_mark_locations", "ruby.h") # Missing on TruffleRuby
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
+have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby
append_cflags("-std=c99")