Changeset 7786 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 07/11/06 20:35:27 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MZlib.cc
r7449 r7786 120 120 // -------------------------------------------------------------------------- 121 121 // 122 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, ios_base::openmode) 122 # if (__GNUC__>2) 123 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, 124 ios_base::openmode) 125 # else 126 streampos MZlib::seekoff(streamoff offset, int dir, int) 127 # endif 123 128 { 124 129 // Using a switch instead results in: … … 170 175 // -------------------------------------------------------------------------- 171 176 // 177 # if (__GNUC__>2) 172 178 streambuf::pos_type MZlib::seekpos(streambuf::pos_type pos, ios_base::openmode) 179 # else 180 streampos MZlib::seekpos(streampos pos, int) 181 # endif 173 182 { 174 183 // Seek the z-stream to the given position -
trunk/MagicSoft/Mars/mbase/MZlib.h
r7449 r7786 43 43 void close(); 44 44 45 # if (__GNUC__>2) 45 46 std::streambuf::pos_type seekoff(std::streambuf::off_type, std::ios_base::seekdir, 46 47 std::ios_base::openmode = std::ios_base::in); 47 48 std::streambuf::pos_type seekpos(std::streambuf::pos_type, 48 49 std::ios_base::openmode = std::ios_base::in); 50 # else 51 std::streampos seekoff(std::streamoff, int, int = std::ios::in); 52 std::streampos seekpos(std::streampos, int = std::ios::in); 53 # endif 49 54 50 55 ClassDef(MZlib, 0) // A C++ wrapper to istream zlib files
Note:
See TracChangeset
for help on using the changeset viewer.