Ignore:
Timestamp:
07/11/06 20:35:27 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MZlib.cc

    r7449 r7786  
    120120// --------------------------------------------------------------------------
    121121//
    122 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, ios_base::openmode)
     122# if (__GNUC__>2)
     123streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir,
     124                                   ios_base::openmode)
     125# else
     126streampos MZlib::seekoff(streamoff offset, int dir, int)
     127# endif
    123128{
    124129    // Using a switch instead results in:
     
    170175// --------------------------------------------------------------------------
    171176//
     177# if (__GNUC__>2)
    172178streambuf::pos_type MZlib::seekpos(streambuf::pos_type pos, ios_base::openmode)
     179# else
     180streampos MZlib::seekpos(streampos pos, int)
     181# endif
    173182{
    174183    // Seek the z-stream to the given position
  • trunk/MagicSoft/Mars/mbase/MZlib.h

    r7449 r7786  
    4343    void close();
    4444
     45# if (__GNUC__>2)
    4546    std::streambuf::pos_type seekoff(std::streambuf::off_type, std::ios_base::seekdir,
    4647                                     std::ios_base::openmode = std::ios_base::in);
    4748    std::streambuf::pos_type seekpos(std::streambuf::pos_type,
    4849                                     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
    4954
    5055    ClassDef(MZlib, 0) // A C++ wrapper to istream zlib files
Note: See TracChangeset for help on using the changeset viewer.