mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io/console: compatibility with 1.9
* ext/io/console/console.c (rawmode_opt, console_dev): compatibility with ruby 1.9. [ruby-core:52220] [Bug #7847] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62711da253
commit
44c24d4416
3 changed files with 46 additions and 3 deletions
|
|
@ -12,9 +12,10 @@ when have_header(hdr = "sgtty.h")
|
|||
else
|
||||
ok = false
|
||||
end
|
||||
have_header("sys/ioctl.h")
|
||||
have_func("rb_io_get_write_io", "ruby/io.h")
|
||||
have_func("dup3", "unistd.h")
|
||||
if ok
|
||||
have_header("sys/ioctl.h")
|
||||
have_func("rb_check_hash_type", "ruby.h")
|
||||
have_func("rb_io_get_write_io", "ruby/io.h")
|
||||
have_func("rb_cloexec_open", "ruby/io.h")
|
||||
create_makefile("io/console")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue