From: Roland McGrath Date: Tue, 8 Mar 1994 06:53:48 +0000 (+0000) Subject: (send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before X-Git-Tag: emacs-19.34~9599 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d694741264de50c7eda86c8c9467946c18dd96c;p=emacs.git (send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before trying to use fpathconf. --- 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