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:
parent
c135a22c31
commit
35ef21d256
@ -1,5 +1,9 @@
|
|||||||
2000-11-16 Mark Mitchell <mark@codesourcery.com>
|
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.
|
* config/c_io_stdio.h: Include libio.h.
|
||||||
|
|
||||||
Wed Nov 15 18:39:34 2000 Mark P Mitchell <mark@codesourcery.com>
|
Wed Nov 15 18:39:34 2000 Mark P Mitchell <mark@codesourcery.com>
|
||||||
|
@ -45,10 +45,10 @@ namespace std {
|
|||||||
|
|
||||||
// from fpos.h
|
// from fpos.h
|
||||||
typedef long streamoff;
|
typedef long streamoff;
|
||||||
typedef size_t streamsize; // Signed integral type
|
typedef ptrdiff_t streamsize; // Signed integral type
|
||||||
#if _GLIBCPP_USE_WCHAR_T
|
#if _GLIBCPP_USE_WCHAR_T
|
||||||
typedef long wstreamoff;
|
typedef long wstreamoff;
|
||||||
typedef size_t wstreamsize;
|
typedef ptrdiff_t wstreamsize;
|
||||||
#endif
|
#endif
|
||||||
typedef fpos_t __c_streampos;
|
typedef fpos_t __c_streampos;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user