Commit 5d694741 authored by Roland McGrath's avatar Roland McGrath
Browse files

(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before

trying to use fpathconf.
parent c51b1a7c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment