Explicitly use _stati64() with MinGW-W64.
Although this compiler provides underscore-less versions of all POSIX functions, this one only exists in a version with underscore, so use it to fix compilation with it in ANSI build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -368,7 +368,13 @@ enum wxPosixPermissions
|
||||
#define wxCRT_MkDirA wxPOSIX_IDENT(mkdir)
|
||||
#define wxCRT_RmDirA wxPOSIX_IDENT(rmdir)
|
||||
#ifdef wxHAS_HUGE_FILES
|
||||
#define wxCRT_StatA wxPOSIX_IDENT(stati64)
|
||||
// MinGW-64 provides underscore-less versions of all file functions
|
||||
// except for this one.
|
||||
#ifdef __MINGW64__
|
||||
#define wxCRT_StatA _stati64
|
||||
#else
|
||||
#define wxCRT_StatA wxPOSIX_IDENT(stati64)
|
||||
#endif
|
||||
#else
|
||||
// Unfortunately Watcom is not consistent
|
||||
#if defined(__OS2__) && defined(__WATCOMC__)
|
||||
|
Reference in New Issue
Block a user