From 5d694741264de50c7eda86c8c9467946c18dd96c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 8 Mar 1994 06:53:48 +0000 Subject: [PATCH] (send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before trying to use fpathconf. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index ed87b10bccf..316e02296af 100644 --- a/src/process.c +++ b/src/process.c @@ -2259,7 +2259,7 @@ send_process (proc, buf, len) 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 -- 2.39.5