X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c746f384e24fc33af917d6b9a2172346d9ee34a..623a195ec2e8fde5106a221d4547db331ebb6676:/include/wx/filefn.h 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)