summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1999-08-09 00:07:09 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-08-09 00:07:09 +0000
commitaee941f2bbfd197b1629cd9cc1359bd103201b3c (patch)
treee5b39dc14d5dc9e2a2201a15d9ab5456adedd056 /libio
parent248c0b6908dca58adf5f45a42950ba73c3f24a5d (diff)
downloadgcc-aee941f2bbfd197b1629cd9cc1359bd103201b3c.tar.gz
streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the global scope.
* streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the global scope. From-SVN: r28604
Diffstat (limited to 'libio')
-rw-r--r--libio/ChangeLog5
-rw-r--r--libio/streambuf.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index 36150ed49ea..3342feb13fa 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,8 @@
+1999-08-08 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the
+ global scope.
+
1999-08-07 Andreas Schwab <schwab@suse.de>
* iostream.cc: Add missing calls to isfx and setup a cleanup
diff --git a/libio/streambuf.h b/libio/streambuf.h
index d472cbece2c..8785d96c694 100644
--- a/libio/streambuf.h
+++ b/libio/streambuf.h
@@ -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,