mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
revert
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a4f8093f0
commit
55de9446a9
2 changed files with 2 additions and 3 deletions
|
@ -3,10 +3,9 @@ require 'mkmf'
|
|||
if /mswin32|mingw/ !~ RUBY_PLATFORM
|
||||
have_header("sys/stropts.h")
|
||||
have_func("setresuid")
|
||||
# $CFLAGS << "-DHAVE_DEV_PTMX" if /cygwin/ === RUBY_PLATFORM
|
||||
$CFLAGS << "-DHAVE_DEV_PTMX" if /cygwin/ === RUBY_PLATFORM
|
||||
if have_func("openpty") or
|
||||
have_func("_getpty") or
|
||||
have_func("ptsname") or
|
||||
have_func("ioctl")
|
||||
create_makefile('pty')
|
||||
end
|
||||
|
|
|
@ -359,7 +359,7 @@ getDevice(master,slave)
|
|||
int i,j;
|
||||
char MasterName[DEVICELEN];
|
||||
|
||||
#ifdef HAVE_PTSNAME
|
||||
#ifdef HAVE_DEV_PTMX
|
||||
char *pn;
|
||||
void (*s)();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue