summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-02-12 10:08:13 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2016-02-13 08:57:01 +1100
commit4e59362d1b8846371f12252c49b87f6f7080967b (patch)
tree1925a4d750fb9eebdf53cad3e3828f65896aa0c4
parent950da38164095217fb6a06acae750eee5d336ba7 (diff)
downloadexternal_mesa3d-4e59362d1b8846371f12252c49b87f6f7080967b.zip
external_mesa3d-4e59362d1b8846371f12252c49b87f6f7080967b.tar.gz
external_mesa3d-4e59362d1b8846371f12252c49b87f6f7080967b.tar.bz2
glsl: replace _strtoui64() with strtoull() for MSVC
Now that MSVC 2013 is required we can remove this. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
-rw-r--r--src/compiler/glsl/glsl_lexer.ll4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll
index e59f93e..9704fc7 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;