From 3ea93e44cf103b37bd9d4ab84e83a2a117bf742e Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Tue, 6 Jul 2021 18:23:01 +0200 Subject: [PATCH] Add missing check for rb_block_call() * It used to be hardcoded since 0affbf9d2c7c5c618b8d3fe191e74d9ae8ad22fc but got removed in 23abf3d3fb82afcc26d35769f0dec59dd46de4bb * This means that since that second commit, rb_iterate() was used unintentionally. --- ext/racc/cparse/extconf.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/racc/cparse/extconf.rb b/ext/racc/cparse/extconf.rb index 3b4f594b..18c5689a 100644 --- a/ext/racc/cparse/extconf.rb +++ b/ext/racc/cparse/extconf.rb @@ -3,6 +3,7 @@ require 'mkmf' +have_func('rb_block_call') have_func('rb_ary_subseq') create_makefile 'racc/cparse'