From f82b9d8d7b29130d27f5c13aa3bdd2ed3f9a57c8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 1 Jul 2025 17:38:25 +0900 Subject: [ruby/strscan] Run `have_func` with the header providing the declarations https://github.com/ruby/strscan/commit/18c0a59b65 --- ext/strscan/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/strscan/extconf.rb b/ext/strscan/extconf.rb index abcbdb3ad2..3c311d2364 100644 --- a/ext/strscan/extconf.rb +++ b/ext/strscan/extconf.rb @@ -2,7 +2,7 @@ require 'mkmf' if RUBY_ENGINE == 'ruby' $INCFLAGS << " -I$(top_srcdir)" if $extmk - have_func("onig_region_memsize") + have_func("onig_region_memsize(NULL)") have_func("rb_reg_onig_match", "ruby/re.h") create_makefile 'strscan' else -- cgit v1.2.3