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/branches/WX_2_8_BRANCH@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-13 22:39:32 +00:00
parent 3d0ae18d75
commit ed4b62eaba

View File

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