From: Dale Weiler Date: Thu, 20 Dec 2012 09:01:01 +0000 (+0000) Subject: One last fix for mankind X-Git-Tag: 0.1.9~24 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=475b3152ca4a9c5e35b7a99558ab0e389e0afc4c One last fix for mankind --- diff --git a/lexer.c b/lexer.c index 9f93a72..7fc606c 100644 --- a/lexer.c +++ b/lexer.c @@ -1353,7 +1353,7 @@ int lex_do(lex_file *lex) lex->tok.ttype = TOKEN_CHARCONST; /* It's a vector if we can successfully scan 3 floats */ -#ifdef WIN32 +#ifdef _MSC_VER if (sscanf_s(lex->tok.value, " %f %f %f ", &lex->tok.constval.v.x, &lex->tok.constval.v.y, &lex->tok.constval.v.z) == 3) #else