Com_Printf: declare the function only if _COM_PRINTF is not defined

This commit is contained in:
Ley0k 2017-02-19 12:14:51 +01:00
parent 3e757e6a05
commit 9ef909be89

View file

@ -147,6 +147,8 @@ void Com_EndRedirect (void)
rd_flush = NULL;
}
#ifndef _COM_NOPRINTF
/*
=============
Com_Printf
@ -249,6 +251,8 @@ void QDECL Com_DPrintf( const char *fmt, ...) {
Com_Printf ("%s", msg);
}
#endif
/*
=============
Com_Error