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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user