Compile fix - if _MSC_VER is undefined, _MSC_VER < 1700 is true!

This commit is contained in:
baldurk 2016-05-17 01:38:56 +02:00
parent a8018b8ee5
commit 6b32ae18fa

View File

@ -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);