From 3e6477f4abc8c90b8b39ba4b390df078e9391190 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Mon, 28 Apr 2003 21:09:58 +0000 Subject: [PATCH] SF patch [ 708702 ] Wide character filename support for BCC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 42bc28cd00..b0ba175406 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -47,8 +47,6 @@ typedef long off_t; #endif -#endif - #if defined(__VISAGECPP__) && __IBMCPP__ >= 400 // // VisualAge C++ V4.0 cannot have any external linkage const decs @@ -92,11 +90,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 +104,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