From b02c4e4d10549c5264d461e41c0ef13fdf816f6d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 20 Dec 2012 15:46:31 +0100 Subject: [PATCH] sscanf_s only for _MSC_VER not WIN32 in exec.c --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index b8f74ac..5af6785 100644 --- a/exec.c +++ b/exec.c @@ -814,7 +814,7 @@ static void prog_main_setparams(qc_program *prog) arg->vector[2] = 0; switch (main_params[i].vtype) { case TYPE_VECTOR: -#ifdef WIN32 +#ifdef _MSC_VER (void)sscanf_s(main_params[i].value, " %f %f %f ", &arg->vector[0], &arg->vector[1], -- 2.39.2