diff --git a/Log.cpp b/Log.cpp index 10bf42ad..ff05db73 100644 --- a/Log.cpp +++ b/Log.cpp @@ -20,8 +20,11 @@ void LogMsg::Process() void Log::Flush () { +#ifdef _WIN32 if (m_LogFile) m_LogFile->flush(); +#endif +// TODO: find out what's wrong with flush for Windows } void Log::SetLogFile (const std::string& fullFilePath)