summaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@cygnus.com>1999-03-17 08:21:31 +0000
committerDave Brolley <brolley@gcc.gnu.org>1999-03-17 03:21:31 -0500
commit331fff42f7c4c46e29313047fad63b8acf641adf (patch)
treeddf4564533fa727716ba288328e68a4e5deeb556 /gcc/cppfiles.c
parented513abf7727c017096c2461bd4be33c833840d6 (diff)
downloadgcc-331fff42f7c4c46e29313047fad63b8acf641adf.tar.gz
cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.
Wed Mar 17 11:20:29 1999 Dave Brolley <brolley@cygnus.com> * cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already. From-SVN: r25817
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 7828569c0dd..f03b1e2aed6 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;