aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 08cb810ec13..dbd677e59d7 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2206,9 +2206,10 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
2206 inchannel = p->open_fd[READ_FROM_SUBPROCESS]; 2206 inchannel = p->open_fd[READ_FROM_SUBPROCESS];
2207 forkout = p->open_fd[SUBPROCESS_STDOUT]; 2207 forkout = p->open_fd[SUBPROCESS_STDOUT];
2208 2208
2209#if defined(GNU_LINUX) && defined(F_SETPIPE_SZ) 2209#if (defined (GNU_LINUX) || defined __ANDROID__) \
2210 && defined (F_SETPIPE_SZ)
2210 fcntl (inchannel, F_SETPIPE_SZ, read_process_output_max); 2211 fcntl (inchannel, F_SETPIPE_SZ, read_process_output_max);
2211#endif 2212#endif /* (GNU_LINUX || __ANDROID__) && F_SETPIPE_SZ */
2212 } 2213 }
2213 2214
2214 if (!NILP (p->stderrproc)) 2215 if (!NILP (p->stderrproc))