ignore I_PUSH if it isn't defined, for Android from Reimar Döffinger

This commit is contained in:
Matt Johnston 2013-03-19 20:12:19 +08:00
parent 6270ed2f8a
commit da59afe798

View File

@ -133,7 +133,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
close(*ptyfd); close(*ptyfd);
return 0; return 0;
} }
#ifndef HAVE_CYGWIN #if !defined(HAVE_CYGWIN) && defined(I_PUSH)
/* /*
* Push the appropriate streams modules, as described in Solaris pts(7). * Push the appropriate streams modules, as described in Solaris pts(7).
* HP-UX pts(7) doesn't have ttcompat module. * HP-UX pts(7) doesn't have ttcompat module.