mirror of
https://github.com/ioquake/jedi-academy.git
synced 2025-03-13 22:31:55 +00:00
match the rest of the code and have OutputDebugString under _DEBUG
This commit is contained in:
parent
d8c10b2711
commit
d7b7f5ac78
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue