don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-13 22:39:32 +00:00
parent 32013b47d6
commit 1b96afaa92

View File

@@ -251,7 +251,10 @@ enum wxFileKind
// NB: this one is not POSIX and always has the underscore
#define wxFsync _commit
// could be already defined by configure (Cygwin)
#ifndef HAVE_FSYNC
#define HAVE_FSYNC
#endif
#endif // BORLANDC
#endif