diff options
| author | Roland McGrath <roland@gnu.org> | 1994-03-08 06:53:48 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 1994-03-08 06:53:48 +0000 |
| commit | 5d694741264de50c7eda86c8c9467946c18dd96c (patch) | |
| tree | b9e6475e975ed09971520b9b41f521eb72cd3814 | |
| parent | c51b1a7c774db2b8bc30ebb8e431570eac570ae7 (diff) | |
| download | emacs-5d694741264de50c7eda86c8c9467946c18dd96c.tar.gz | |
(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before
trying to use fpathconf.
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
