]> git.saurik.com Git - wxWidgets.git/commitdiff
SF patch [ 708702 ] Wide character filename support for BCC
authorChris Elliott <biol75@york.ac.uk>
Mon, 28 Apr 2003 21:09:58 +0000 (21:09 +0000)
committerChris Elliott <biol75@york.ac.uk>
Mon, 28 Apr 2003 21:09:58 +0000 (21:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 42bc28cd000e7d608c24ff133d078322622180d5..b0ba175406af66b851414f79670d3ee67d4b3982 100644 (file)
@@ -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