Shutup visual studio...

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-16 12:32:01 +02:00
parent 61605636d1
commit d9da4d11b1

6
ir.c
View file

@ -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>";