diff --git a/include/wx/filefn.h b/include/wx/filefn.h index c5bdf72ef4..d57060e1cb 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -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 diff --git a/include/wx/platform.h b/include/wx/platform.h index 33770bcb42..dd343949e5 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -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 /**