mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Shutup visual studio...
This commit is contained in:
parent
61605636d1
commit
d9da4d11b1
1 changed files with 6 additions and 0 deletions
6
ir.c
6
ir.c
|
@ -2773,6 +2773,12 @@ bool ir_builder_generate(ir_builder *self, const char *filename)
|
|||
|
||||
#define IND_BUFSZ 1024
|
||||
|
||||
#ifdef WIN32
|
||||
# define strncat(dst, src, sz) strncat_s(dst, sz, src, _TRUNCATE)
|
||||
#else
|
||||
# define strncat strncat
|
||||
#endif
|
||||
|
||||
const char *qc_opname(int op)
|
||||
{
|
||||
if (op < 0) return "<INVALID>";
|
||||
|
|
Loading…
Reference in a new issue