Use `_getpty' if there's one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1768 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -371,7 +371,7 @@ int getpty(int *ptynum)
|
||||
}
|
||||
return -1;
|
||||
#else
|
||||
#if IRIX == 4
|
||||
#ifdef HAVE__GETPTY
|
||||
int master, slave;
|
||||
char *p;
|
||||
p = _getpty(&master, O_RDWR, 0600, 1);
|
||||
|
Reference in New Issue
Block a user