Skip to content

Commit 18c0a59

Browse files
committed
Run have_func with the header providing the declarations
1 parent 1ac96f4 commit 18c0a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/strscan/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'mkmf'
33
if RUBY_ENGINE == 'ruby'
44
$INCFLAGS << " -I$(top_srcdir)" if $extmk
5-
have_func("onig_region_memsize")
5+
have_func("onig_region_memsize(NULL)")
66
have_func("rb_reg_onig_match", "ruby/re.h")
77
create_makefile 'strscan'
88
else

0 commit comments

Comments
 (0)