X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3bb1d14a52bddf1855358768b0d1c579c9ff1e3..eee3624b111881520d7d58fe174ef563c62d8375:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 42bc28cd00..9fb223cde2 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -41,7 +41,7 @@ typedef _off_t off_t; #elif defined(__BORLANDC__) && defined(__WIN16__) typedef long off_t; -#elif defined(__SC__) +#elif defined(__SYMANTEC__) typedef long off_t; #elif defined(__MWERKS__) && !defined(__INTEL__) && !defined(__MACH__) typedef long off_t; @@ -92,11 +92,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #if wxUSE_UNICODE #if wxUSE_UNICODE_MSLU -#ifdef __BORLANDC__ - #define wxOpen open -#else - #define wxOpen _open -#endif + #define wxOpen wxMSLU__wopen + #define wxAccess wxMSLU__waccess #define wxMkDir wxMSLU__wmkdir #define wxRmDir wxMSLU__wrmdir @@ -109,7 +106,11 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #define wxStat _wstat #endif #else // !wxUSE_UNICODE +#ifdef __BORLANDC__ + #define wxOpen open +#else #define wxOpen _open +#endif #define wxAccess _access #define wxMkDir _mkdir #define wxRmDir _rmdir