diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-07-01 17:38:25 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-07-24 12:21:34 +0900 |
| commit | 5c74f2a79bb1b184d5eea975178007e2da1816ed (patch) | |
| tree | 6aec616090f08b15cff01717950214fe67b80ed7 | |
| parent | f82b9d8d7b29130d27f5c13aa3bdd2ed3f9a57c8 (diff) | |
[ruby/json] Run `have_func` with the header providing the declarations
https://github.com/ruby/json/commit/95fb084027
| -rw-r--r-- | ext/json/parser/extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/parser/extconf.rb b/ext/json/parser/extconf.rb index feb586e1b4..4723a02aee 100644 --- a/ext/json/parser/extconf.rb +++ b/ext/json/parser/extconf.rb @@ -1,8 +1,8 @@ # frozen_string_literal: false require 'mkmf' -have_func("rb_enc_raise", "ruby.h") -have_func("rb_enc_interned_str", "ruby.h") +have_func("rb_enc_raise", "ruby/encoding.h") +have_func("rb_enc_interned_str", "ruby/encoding.h") # checking if String#-@ (str_uminus) dedupes... ' begin |
