]> git.saurik.com Git - wxWidgets.git/commitdiff
fix borland header difference
authorChris Elliott <biol75@york.ac.uk>
Sun, 29 Oct 2006 20:44:32 +0000 (20:44 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sun, 29 Oct 2006 20:44:32 +0000 (20:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h

index 116d3ebb06787500cb91390011943ce8ed293729..8bb24e01e762c12061abe6fff3e714e2997339fa 100644 (file)
@@ -235,10 +235,12 @@ enum wxFileKind
     #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)