glsl: replace _strtoui64() with strtoull() for MSVC

Now that MSVC 2013 is required we can remove this.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Timothy Arceri
2016-02-12 10:08:13 +11:00
parent 950da38164
commit 4e59362d1b

View File

@@ -113,11 +113,7 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state,
if (base == 16) if (base == 16)
digits += 2; digits += 2;
#ifdef _MSC_VER
unsigned __int64 value = _strtoui64(digits, NULL, base);
#else
unsigned long long value = strtoull(digits, NULL, base); unsigned long long value = strtoull(digits, NULL, base);
#endif
lval->n = (int)value; lval->n = (int)value;