diff options
author | H.J. Lu <hjl@gnu.org> | 1998-02-01 12:29:15 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-01 05:29:15 -0700 |
commit | 2b0aa3c5b341dece22d6cb6d07741ba8677f4917 (patch) | |
tree | 7f82432d8e5d72c64bd5ab979676321ca1746dc6 /libio/streambuf.h | |
parent | 9563abe0c2ebe9d5ec1117b272bb6de4ac9ffa09 (diff) | |
download | gcc-2b0aa3c5b341dece22d6cb6d07741ba8677f4917.zip gcc-2b0aa3c5b341dece22d6cb6d07741ba8677f4917.tar.gz gcc-2b0aa3c5b341dece22d6cb6d07741ba8677f4917.tar.bz2 |
filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.
* filebuf.cc (filebuf::open): Call _IO_file_open if
_G_HAVE_IO_FILE_OPEN is 1.
* libio.h (_IO_fpos64_t, _IO_off64_t): Defined if
_G_IO_IO_FILE_VERSION == 0x20001.
* libioP.h (_IO_file_open): New declaration.
* libio.h (_IO_FILE, _IO_stdin_, _IO_stdout_, _IO_stderr_,
_IO_seekoff, _IO_seekpos): Add support for libio in egcs 2.1.
* libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t,
_IO_seekoff, _IO_seekpos, _IO_default_seekoff,
_IO_default_seekpos, _IO_default_seek, _IO_file_seekoff,
_IO_file_seek, _IO_str_seekoff, _IO_pos_BAD, _IO_pos_as_off,
_IO_pos_0): Ditto.
* streambuf.h (streamoff, streampos): Ditto.
* gen-params (__extension__): Use only if gcc version >= 2.8.
From-SVN: r17580
Diffstat (limited to 'libio/streambuf.h')
-rw-r--r-- | libio/streambuf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/streambuf.h b/libio/streambuf.h index dfee098..9ef4724 100644 --- a/libio/streambuf.h +++ b/libio/streambuf.h @@ -66,8 +66,13 @@ class ostream; class streambuf; #undef open #undef close +#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001 +typedef _IO_off64_t streamoff; +typedef _IO_fpos64_t streampos; +#else typedef _IO_off_t streamoff; typedef _IO_fpos_t streampos; +#endif typedef _IO_ssize_t streamsize; typedef unsigned long __fmtflags; |