aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 7828569..f03b1e2 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -803,6 +803,10 @@ find_position (start, limit, linep, colp)
If your file has more than one kind of end-of-line marker, you
will get messed-up line numbering. */
+#ifndef PIPE_BUF
+#define PIPE_BUF 4096
+#endif
+
static long
read_and_prescan (pfile, fp, desc, len)
cpp_reader *pfile;