From f7791e5289ef61860e0fca024f86c31e448982f1 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 1 Nov 2014 21:48:26 -0400 Subject: [PATCH] fixed crash for Windows --- Log.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)