changeset 6253:42914264b095

(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before trying to use fpathconf.
author Roland McGrath <roland@gnu.org>
date Tue, 08 Mar 1994 06:53:48 +0000
parents e862f607f34f
children a147d798ed0d
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Mar 08 06:52:58 1994 +0000
+++ b/src/process.c	Tue Mar 08 06:53:48 1994 +0000
@@ -2259,7 +2259,7 @@
 
 	if (pty_max_bytes == 0)
 	  {
-#ifdef _PC_MAX_CANON
+#if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
 	    pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd),
 				       _PC_MAX_CANON);
 #else