From: Timothy Arceri Date: Thu, 11 Feb 2016 23:08:13 +0000 (+1100) Subject: glsl: replace _strtoui64() with strtoull() for MSVC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e59362d1b8846371f12252c49b87f6f7080967b;p=mesa.git glsl: replace _strtoui64() with strtoull() for MSVC Now that MSVC 2013 is required we can remove this. Reviewed-by: Jose Fonseca --- diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll index e59f93e10ef..9704fc7ac4f 100644 --- a/src/compiler/glsl/glsl_lexer.ll +++ b/src/compiler/glsl/glsl_lexer.ll @@ -113,11 +113,7 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state, if (base == 16) digits += 2; -#ifdef _MSC_VER - unsigned __int64 value = _strtoui64(digits, NULL, base); -#else unsigned long long value = strtoull(digits, NULL, base); -#endif lval->n = (int)value;