summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-07-01 17:38:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-07-24 12:21:34 +0900
commitf82b9d8d7b29130d27f5c13aa3bdd2ed3f9a57c8 (patch)
tree81c219c48605e3255c2697e829efe8663995de1f
parenteba9fa20b5421deda53961f09dadc04f3f92ff7e (diff)
[ruby/strscan] Run `have_func` with the header providing the declarations
https://github.com/ruby/strscan/commit/18c0a59b65
-rw-r--r--ext/strscan/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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