c_io_stdio.h (streamsize): Make it a typedef for ptrdiff_t.

* config/c_io_stdio.h (streamsize): Make it a typedef for
	ptrdiff_t.
	(wstreamsize): Likewise.

From-SVN: r37496
This commit is contained in:
Mark Mitchell 2000-11-16 09:26:14 +00:00 committed by Mark Mitchell
parent c135a22c31
commit 35ef21d256
2 changed files with 6 additions and 2 deletions

View 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>

View 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;