summaryrefslogtreecommitdiffstats
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-17 08:21:31 +0000
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-17 08:21:31 +0000
commit7abc3ef8035ad757d1b1e3fae5b3d82354f1c6ab (patch)
treeddf4564533fa727716ba288328e68a4e5deeb556 /gcc/cppfiles.c
parentc278c0a5b1e88168e73d23381b8c190591861fea (diff)
downloadppe42-gcc-7abc3ef8035ad757d1b1e3fae5b3d82354f1c6ab.tar.gz
ppe42-gcc-7abc3ef8035ad757d1b1e3fae5b3d82354f1c6ab.zip
Wed Mar 17 11:20:29 1999 Dave Brolley <brolley@cygnus.com>
* cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25817 138bc75d-0d04-0410-961f-82ee72b054a4
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;
OpenPOWER on IntegriCloud