From: Julian Smart Date: Sun, 29 Oct 2006 16:48:41 +0000 (+0000) Subject: Borland fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5c746f384e24fc33af917d6b9a2172346d9ee34a Borland fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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