X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FLog.cpp;h=6012f9aa35e5d46b1b78f172f3df3b52b802bdc7;hb=2186d4f1ddd343962a50474d6613f08d77ef993f;hp=dce8af93633b27c02daf681a329d26f201fd2c0e;hpb=0b314338a46fe83c1c4bb646da858ebd5d4a7317;p=matthijs%2FABM2.git diff --git a/ABM2/Engine/Log.cpp b/ABM2/Engine/Log.cpp index dce8af9..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);