Enable the huge files patch to build with mingw-cross.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2004-09-26 13:18:46 +00:00
parent 6ea3ac58ea
commit 4004775e5a
13 changed files with 96 additions and 94 deletions

View File

@@ -36,7 +36,7 @@
// seek/tell
// ----------------------------------------------------------------------------
off_t wxStringInputStream::OnSysSeek(off_t ofs, wxSeekMode mode)
wxFileOffset wxStringInputStream::OnSysSeek(wxFileOffset ofs, wxSeekMode mode)
{
const size_t ofsMax = m_str.length()*sizeof(wxChar);
@@ -67,9 +67,9 @@ off_t wxStringInputStream::OnSysSeek(off_t ofs, wxSeekMode mode)
return ofs;
}
off_t wxStringInputStream::OnSysTell() const
wxFileOffset wxStringInputStream::OnSysTell() const
{
return wx_static_cast(off_t, m_pos);
return wx_static_cast(wxFileOffset, m_pos);
}
// ----------------------------------------------------------------------------
@@ -105,9 +105,9 @@ size_t wxStringInputStream::OnSysRead(void *buffer, size_t size)
// seek/tell
// ----------------------------------------------------------------------------
off_t wxStringOutputStream::OnSysTell() const
wxFileOffset wxStringOutputStream::OnSysTell() const
{
return wx_static_cast(off_t, m_pos);
return wx_static_cast(wxFileOffset, m_pos);
}
// ----------------------------------------------------------------------------