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:
Assar Westerlund
1997-05-25 07:37:16 +00:00
parent 5e16bd277e
commit f1213f7610

View File

@@ -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);