fix VS2012 compile issues

small fixes needed to compile under Win8.1/VS2012/static_lib
This commit is contained in:
St0fF 2018-04-09 17:37:01 +02:00
parent b92ce60fc7
commit 77d04598d3
2 changed files with 14 additions and 12 deletions

View File

@ -67,6 +67,7 @@ std::string to_string(const T& val) {
#endif #endif
#if defined(_MSC_VER) && _MSC_VER < 1800 #if defined(_MSC_VER) && _MSC_VER < 1800
#include <stdlib.h>
inline long long int strtoll (const char* str, char** endptr, int base) inline long long int strtoll (const char* str, char** endptr, int base)
{ {
return _strtoi64(str, endptr, base); return _strtoi64(str, endptr, base);

View File

@ -47,6 +47,7 @@
#include <cfloat> #include <cfloat>
#include <utility> #include <utility>
#include <tuple>
namespace glslang { namespace glslang {