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