From 75c3bf68e907d0f6d4ca279724e193addfcdb5f3 Mon Sep 17 00:00:00 2001 From: baldurk <baldurk@baldurk.org> Date: Thu, 13 Oct 2016 19:24:23 +0200 Subject: [PATCH] Add strtoull wrapper for VS2010, pointing to MS implementation --- glslang/Include/Common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glslang/Include/Common.h b/glslang/Include/Common.h index 636645e79..e082356cc 100644 --- a/glslang/Include/Common.h +++ b/glslang/Include/Common.h @@ -68,6 +68,10 @@ inline long long int strtoll (const char* str, char** endptr, int base) { return _strtoi64(str, endptr, base); } +inline unsigned long long int strtoull (const char* str, char** endptr, int base) +{ + return _strtoui64(str, endptr, base); +} inline long long int atoll (const char* str) { return strtoll(str, NULL, 10); -- GitLab