]> git.saurik.com Git - wxWidgets.git/commitdiff
Borland fix.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 29 Oct 2006 16:48:41 +0000 (16:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 29 Oct 2006 16:48:41 +0000 (16:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 248bee7fcfeaed878d9a657a118a2ccf9b4567ef..116d3ebb06787500cb91390011943ce8ed293729 100644 (file)
@@ -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