Support large files with stdio on mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,6 +190,10 @@ enum wxFileKind
|
||||
#define wxHAS_HUGE_STDIO_FILES
|
||||
#define wxFseek _fseeki64
|
||||
#define wxFtell _ftelli64
|
||||
#elif wxCHECK_MINGW32_VERSION(3, 5) // mingw-runtime version (not gcc)
|
||||
#define wxHAS_HUGE_STDIO_FILES
|
||||
#define wxFseek fseeko64
|
||||
#define wxFtell ftello64
|
||||
#endif
|
||||
|
||||
// other Windows compilers (DMC, Watcom, Metrowerks and Borland) don't have
|
||||
|
@@ -652,6 +652,8 @@
|
||||
#else
|
||||
# undef wxCHECK_W32API_VERSION
|
||||
# define wxCHECK_W32API_VERSION(maj, min) (0)
|
||||
# undef wxCHECK_MINGW32_VERSION
|
||||
# define wxCHECK_MINGW32_VERSION(maj, min) (0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user