Commit 1e71dccc authored by Eike Ziller's avatar Eike Ziller Committed by Oswald Buddenhagen

Build fix for Mac OS

Change-Id: Iec4e4fdddf6b5eadbdcaae2500df841f0cf57dd4
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 2ded6900
......@@ -89,6 +89,8 @@ bool SaveFile::commit()
}
#ifdef Q_OS_WIN
FlushFileBuffers(reinterpret_cast<HANDLE>(handle()));
#elif defined(Q_OS_MAC)
fsync(handle());
#else
fdatasync(handle());
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment