diff options
author | 2012-09-02 08:57:18 +0000 | |
---|---|---|
committer | 2012-09-02 08:57:18 +0000 | |
commit | 7ddd928da2c9bf0acc612de5838ccfbd8c5df12b (patch) | |
tree | 3ff75fcc1117dd3711e0a491d6ef10e31c2e5b5d | |
parent | A bit more details about s-records operation. (diff) | |
download | wireguard-openbsd-7ddd928da2c9bf0acc612de5838ccfbd8c5df12b.tar.xz wireguard-openbsd-7ddd928da2c9bf0acc612de5838ccfbd8c5df12b.zip |
Provide ios::pos_type and ios::off_type on gcc 2.95 platforms, as some ports
want to use them.
ok espie@ jsg@
-rw-r--r-- | gnu/egcs/libio/streambuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/egcs/libio/streambuf.h b/gnu/egcs/libio/streambuf.h index 193c4993827..7c7e31844b5 100644 --- a/gnu/egcs/libio/streambuf.h +++ b/gnu/egcs/libio/streambuf.h @@ -148,6 +148,8 @@ class ios : public _ios_fields { binary = _IOS_BIN }; enum seek_dir { beg, cur, end}; typedef enum seek_dir seekdir; + typedef streampos pos_type; + typedef streamoff off_type; // NOTE: If adding flags here, before to update ios::bitalloc(). enum { skipws=_IO_SKIPWS, left=_IO_LEFT, right=_IO_RIGHT, internal=_IO_INTERNAL, |