mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
186c8b592a
* gc.c (gc_mark_all): tweak mark order for little bit better scan. * gc.c (rb_gc_mark): ditto. * gc.c (rb_gc): ditto. * enum.c (sort_by_i): slight performance boost. * gc.c (gc_mark_rest): should call gc_mark_children(), not gc_mark(). * gc.c (rb_gc_mark): may cause infinite looop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
15 lines
343 B
Ruby
15 lines
343 B
Ruby
require 'mkmf'
|
|
|
|
if /mswin32|mingw/ !~ RUBY_PLATFORM
|
|
have_header("sys/stropts.h")
|
|
have_func("setresuid")
|
|
have_header("libutil.h")
|
|
have_header("pty.h")
|
|
have_library("util", "openpty")
|
|
if have_func("openpty") or
|
|
have_func("_getpty") or
|
|
have_func("ptsname") or
|
|
have_func("ioctl")
|
|
create_makefile('pty')
|
|
end
|
|
end
|