X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f49ad976f42dea6430eefb6e70479afd44295909..2ac9bfa9b0b8cc78d59f656996358f15fbe2dc26:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 248bee7fcf..116d3ebb06 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -279,14 +279,26 @@ enum wxFileKind #define wxStat wxMSLU__wstat #endif #else // !wxUSE_UNICODE_MSLU - #define wxOpen _wopen - #define wxAccess _waccess - #define wxMkDir _wmkdir - #define wxRmDir _wrmdir - #ifdef wxHAS_HUGE_FILES - #define wxStat _wstati64 + #ifdef __BORLANDC__ + #define wxOpen _wopen + #define wxAccess _waccess + #define wxMkDir _mkdir + #define wxRmDir _rmdir + #ifdef wxHAS_HUGE_FILES + #define wxStat _wstati64 + #else + #define wxStat _wstat + #endif #else - #define wxStat _wstat + #define wxOpen _wopen + #define wxAccess _waccess + #define wxMkDir _wmkdir + #define wxRmDir _wrmdir + #ifdef wxHAS_HUGE_FILES + #define wxStat _wstati64 + #else + #define wxStat _wstat + #endif #endif #endif // wxUSE_UNICODE_MSLU/!wxUSE_UNICODE_MSLU #else // !wxUSE_UNICODE