From 6b32ae18fa36f471982bfc537e19bb21703a56c6 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 17 May 2016 01:38:56 +0200 Subject: [PATCH] Compile fix - if _MSC_VER is undefined, _MSC_VER < 1700 is true! --- glslang/Include/Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/Include/Common.h b/glslang/Include/Common.h index e5c18b99..05c8447f 100644 --- a/glslang/Include/Common.h +++ b/glslang/Include/Common.h @@ -63,7 +63,7 @@ std::string to_string(const T& val) { } #endif -#if _MSC_VER < 1700 +#if defined(_MSC_VER) && _MSC_VER < 1700 inline long long int strtoll (const char* str, char** endptr, int base) { return _strtoi64(str, endptr, base);