configure defines HAVE_FSYNC, not wxHAVE_FSYNC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-08-04 01:04:17 +00:00
parent 896e226aa2
commit 82ff64fdb7

View File

@@ -335,7 +335,7 @@ size_t wxFile::Write(const void *pBuf, size_t nCount)
bool wxFile::Flush()
{
if ( IsOpened() ) {
#if defined(__VISUALC__) || wxHAVE_FSYNC
#if defined(__VISUALC__) || HAVE_FSYNC
if ( wxFsync(m_fd) == -1 )
{
wxLogSysError(_("can't flush file descriptor %d"), m_fd);