]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Include winundefs.h
[wxWidgets.git] / include / wx / filefn.h
index 116d3ebb06787500cb91390011943ce8ed293729..8bb24e01e762c12061abe6fff3e714e2997339fa 100644 (file)
@@ -235,10 +235,12 @@ enum wxFileKind
     #endif // wxHAS_HUGE_FILES/!wxHAS_HUGE_FILES
 
     #ifndef __WATCOMC__
     #endif // wxHAS_HUGE_FILES/!wxHAS_HUGE_FILES
 
     #ifndef __WATCOMC__
-        // NB: this one is not POSIX and always has the underscore
-        #define   wxFsync      _commit
+        #if !defined(__BORLANDC__) || (__BORLANDC__ > 0x540)
+           // NB: this one is not POSIX and always has the underscore
+           #define   wxFsync      _commit
 
 
-        #define HAVE_FSYNC
+           #define HAVE_FSYNC
+       #endif // BORLANDC
     #endif
 
     #define   wxEof        wxPOSIX_IDENT(eof)
     #endif
 
     #define   wxEof        wxPOSIX_IDENT(eof)