OSDN Git Service

* config/c_io_stdio.h (streamsize): Make it a typedef for
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 09:26:14 +0000 (09:26 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 09:26:14 +0000 (09:26 +0000)
ptrdiff_t.
(wstreamsize): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37496 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/c_io_stdio.h

index 66512b8..8d7f919 100644 (file)
@@ -1,5 +1,9 @@
 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
 
+       * config/c_io_stdio.h (streamsize): Make it a typedef for
+       ptrdiff_t.
+       (wstreamsize): Likewise.
+
        * config/c_io_stdio.h: Include libio.h.
 
 Wed Nov 15 18:39:34 2000  Mark P Mitchell  <mark@codesourcery.com>
index 8dcf71a..0d2d26b 100644 (file)
@@ -45,10 +45,10 @@ namespace std {
 
 // from fpos.h
   typedef long         streamoff;
-  typedef size_t       streamsize; // Signed integral type
+  typedef ptrdiff_t    streamsize; // Signed integral type
 #if _GLIBCPP_USE_WCHAR_T
   typedef long         wstreamoff;
-  typedef size_t       wstreamsize;
+  typedef ptrdiff_t    wstreamsize;
 #endif
   typedef fpos_t       __c_streampos;