(send_process) [_PC_MAX_CANON]: Also test #ifdef HAVE_FPATHCONF before
authorRoland McGrath <roland@gnu.org>
Tue, 8 Mar 1994 06:53:48 +0000 (06:53 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 8 Mar 1994 06:53:48 +0000 (06:53 +0000)
trying to use fpathconf.

src/process.c

index ed87b10..316e022 100644 (file)
@@ -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