X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lexer.c;h=7fc606c22d56962882702f7303568c5713c250ba;hb=145c011247d08fff52d6adb74c6deb5d9c620e12;hp=9f93a721586306a1543a294c486129979ce968cf;hpb=664b6d6604e9b6f8a40df4efd0d0c2425f58d8a5;p=xonotic%2Fgmqcc.git 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