summaryrefslogtreecommitdiff
path: root/ext/io/console/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 00:02:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-15 00:02:43 +0000
commitcc91082af8279f878d03f722419b5862b2c5c95e (patch)
tree4299881490d4cc1b6c769c8a7bdf8761e24f7e7a /ext/io/console/extconf.rb
parentc88d0666d4511ec56645b250d37c04204b30c008 (diff)
io/console: use rb_funcallv
* ext/io/console/console.c: use rb_funcallv instead of rb_funcall2, and define rb_funcallv if unavailable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/extconf.rb')
-rw-r--r--ext/io/console/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb
index 381520a92c..454a3a70db 100644
--- a/ext/io/console/extconf.rb
+++ b/ext/io/console/extconf.rb
@@ -17,6 +17,7 @@ else
end
if ok
have_header("sys/ioctl.h") if hdr
+ have_func("rb_funcallv")
# rb_check_hash_type: 1.9.3
# rb_io_get_write_io: 1.9.1
# rb_cloexec_open: 2.0.0