From: Chris Elliott Date: Sun, 29 Oct 2006 20:44:32 +0000 (+0000) Subject: fix borland header difference X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f9e5b1c786b132485fb0570755d693ff354f4418 fix borland header difference git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 116d3ebb06..8bb24e01e7 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -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)