]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
One last fix for mankind
authorDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 09:01:01 +0000 (09:01 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 09:01:01 +0000 (09:01 +0000)
lexer.c

diff --git a/lexer.c b/lexer.c
index 9f93a721586306a1543a294c486129979ce968cf..7fc606c22d56962882702f7303568c5713c250ba 100644 (file)
--- 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