git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42616
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// flush
bool wxFile::Flush()
{
// flush
bool wxFile::Flush()
{
-#if defined(__VISUALC__) || defined(HAVE_FSYNC)
// fsync() only works on disk files and returns errors for pipes, don't
// call it then
if ( IsOpened() && GetKind() == wxFILE_KIND_DISK )
// fsync() only works on disk files and returns errors for pipes, don't
// call it then
if ( IsOpened() && GetKind() == wxFILE_KIND_DISK )