From f9e5b1c786b132485fb0570755d693ff354f4418 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Sun, 29 Oct 2006 20:44:32 +0000 Subject: [PATCH] fix borland header difference git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/filefn.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) -- 2.45.2