fixed wxFileSize_t definition under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
02aef13c07
commit
bd3cea7d2c
@ -322,11 +322,14 @@ enum wxSeekMode
|
||||
#undef wxHAS_HUGE_FILES
|
||||
#else // Unix platforms using configure
|
||||
typedef off_t wxFileOffset;
|
||||
typedef unsigned off_t wxFileSize_t;
|
||||
#ifdef _LARGE_FILES
|
||||
#define wxFileOffsetFmtSpec wxLongLongFmtSpec
|
||||
wxCOMPILE_TIME_ASSERT( sizeof(off_t) == sizeof(wxLongLong_t),
|
||||
BadFileSizeType );
|
||||
typedef unsigned wxLongLong_t wxFileSize_t;
|
||||
#else
|
||||
#define wxFileOffsetFmtSpec _T("")
|
||||
typedef unsigned long wxFileSize_t;
|
||||
#endif
|
||||
// functions
|
||||
#define wxClose close
|
||||
|
Loading…
Reference in New Issue
Block a user