Changed BidEndianOrdered to BigEndianOrdered in datstrm.h
Seek and Tell do the right thing in wxIn/OutputStream now Check for GNU extension in configure.in: this is needed for GLIBC 2.1/GCC 2.95 -> this enables _GNU_SOURCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -574,12 +574,12 @@ wxInputStream& wxInputStream::Read(wxOutputStream& stream_out)
|
||||
|
||||
off_t wxInputStream::SeekI(off_t pos, wxSeekMode mode)
|
||||
{
|
||||
return wxInvalidOffset;
|
||||
return OnSysSeek(pos, mode);
|
||||
}
|
||||
|
||||
off_t wxInputStream::TellI() const
|
||||
{
|
||||
return wxInvalidOffset;
|
||||
return OnSysTell();
|
||||
}
|
||||
|
||||
// --------------------
|
||||
@@ -622,12 +622,12 @@ wxOutputStream& wxOutputStream::Write(wxInputStream& stream_in)
|
||||
|
||||
off_t wxOutputStream::TellO() const
|
||||
{
|
||||
return wxInvalidOffset;
|
||||
return OnSysTell();
|
||||
}
|
||||
|
||||
off_t wxOutputStream::SeekO(off_t pos, wxSeekMode mode)
|
||||
{
|
||||
return wxInvalidOffset;
|
||||
return OnSysSeek(pos, mode);
|
||||
}
|
||||
|
||||
void wxOutputStream::Sync()
|
||||
|
Reference in New Issue
Block a user