match the rest of the code and have OutputDebugString under _DEBUG

This commit is contained in:
Jonathan Gray 2013-04-25 16:09:19 +10:00
parent d8c10b2711
commit d7b7f5ac78
2 changed files with 2 additions and 4 deletions

View file

@ -57,7 +57,7 @@ ICARUS_Instance *ICARUS_Instance::Create( interface_export_t *ie )
{
ICARUS_Instance *instance = new ICARUS_Instance;
instance->m_interface = ie;
#ifndef __linux__
#ifdef _DEBUG
OutputDebugString( "ICARUS Instance successfully created\n" );
#endif
return instance;

View file

@ -231,10 +231,8 @@ void QDECL Com_OPrintf( const char *fmt, ...)
va_start (argptr,fmt);
vsprintf (msg,fmt,argptr);
va_end (argptr);
#ifndef __linux__
#ifdef _DEBUG
OutputDebugString(msg);
#else
printf(msg);
#endif
}