X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FLog.cpp;h=9a657b6771b996abb2a999cf95bdc0c1a59160fa;hb=refs%2Fheads%2Fmaster;hp=0230f3f04e11226009578c21b25e1be985348f9f;hpb=0835c5605c80efd286ccb7eff92fffc07689f359;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/Log.cpp b/ABM2/Engine/Log.cpp index 0230f3f..9a657b6 100755 --- a/ABM2/Engine/Log.cpp +++ b/ABM2/Engine/Log.cpp @@ -2,6 +2,7 @@ // ////////////////////////////////////////////////////////////////////// +#include #include "engine.h" #include "Log.h" @@ -71,7 +72,7 @@ void CLog::Write(int target, const char *msg, ...) #ifdef WIN32 MessageBox(NULL,(LPCTSTR)szBuf,L"Message",MB_OK); #else -#error User-level logging is not implemented for this platform. + std::cout << szBuf << "\n"; #endif } va_end(args); @@ -118,4 +119,4 @@ bool CLog::LoadStrings() return true; } -//#endif \ No newline at end of file +//#endif