aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRoland McGrath1994-03-08 06:53:48 +0000
committerRoland McGrath1994-03-08 06:53:48 +0000
commit5d694741264de50c7eda86c8c9467946c18dd96c (patch)
treeb9e6475e975ed09971520b9b41f521eb72cd3814 /src/process.c
parentc51b1a7c774db2b8bc30ebb8e431570eac570ae7 (diff)
downloademacs-5d694741264de50c7eda86c8c9467946c18dd96c.tar.gz
emacs-5d694741264de50c7eda86c8c9467946c18dd96c.zip
(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before
trying to use fpathconf.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
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)
2259 2259
2260 if (pty_max_bytes == 0) 2260 if (pty_max_bytes == 0)
2261 { 2261 {
2262#ifdef _PC_MAX_CANON 2262#if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
2263 pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd), 2263 pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd),
2264 _PC_MAX_CANON); 2264 _PC_MAX_CANON);
2265#else 2265#else