aboutsummaryrefslogtreecommitdiff
path: root/libio/streambuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/streambuf.h')
-rw-r--r--libio/streambuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/streambuf.h b/libio/streambuf.h
index d472cbece2c..193c4993827 100644
--- a/libio/streambuf.h
+++ b/libio/streambuf.h
@@ -72,10 +72,10 @@ class ostream; class streambuf;
#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
typedef _IO_off64_t streamoff;
-typedef _IO_fpos64_t streampos;
+typedef _IO_off64_t streampos;
#else
typedef _IO_off_t streamoff;
-typedef _IO_fpos_t streampos;
+typedef _IO_off_t streampos;
#endif
typedef _IO_ssize_t streamsize;
@@ -130,7 +130,7 @@ class ios : public _ios_fields {
typedef __fmtflags fmtflags;
typedef int iostate;
typedef int openmode;
- typedef int streamsize;
+ typedef _IO_ssize_t streamsize;
enum io_state {
goodbit = _IOS_GOOD,
eofbit = _IOS_EOF,