X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FLog.cpp;h=6012f9aa35e5d46b1b78f172f3df3b52b802bdc7;hb=2186d4f1ddd343962a50474d6613f08d77ef993f;hp=0230f3f04e11226009578c21b25e1be985348f9f;hpb=0835c5605c80efd286ccb7eff92fffc07689f359;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/Log.cpp b/ABM2/Engine/Log.cpp index 0230f3f..6012f9a 100755 --- a/ABM2/Engine/Log.cpp +++ b/ABM2/Engine/Log.cpp @@ -2,6 +2,8 @@ // ////////////////////////////////////////////////////////////////////// +#include +#include "porting.h" #include "engine.h" #include "Log.h" @@ -71,7 +73,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 +120,4 @@ bool CLog::LoadStrings() return true; } -//#endif \ No newline at end of file +//#endif