(getpty): call openpty if it exists

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10464 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-08-10 13:34:57 +00:00
parent b1d9f6ddf7
commit b42cba5cb5

View File

@@ -398,7 +398,7 @@ int getpty(int *ptynum)
#if SunOS == 40
int dummy;
#endif
#if 0 /* && defined(HAVE_OPENPTY) */
#if __linux
int master;
int slave;
if(openpty(&master, &slave, line, 0, 0) == 0){