]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Use wxRound instead of wxCoordRound
[wxWidgets.git] / 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