changeset 704:523be406edc4

ignore I_PUSH if it isn't defined, for Android from Reimar Döffinger
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Mar 2013 20:12:19 +0800
parents caa09587c3fb
children 2e573f39b88e
files sshpty.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sshpty.c	Tue Mar 19 20:04:55 2013 +0800
+++ b/sshpty.c	Tue Mar 19 20:12:19 2013 +0800
@@ -133,7 +133,7 @@
 		close(*ptyfd);
 		return 0;
 	}
-#ifndef HAVE_CYGWIN
+#if !defined(HAVE_CYGWIN) && defined(I_PUSH)
 	/*
 	 * Push the appropriate streams modules, as described in Solaris pts(7).
 	 * HP-UX pts(7) doesn't have ttcompat module.