diff --git a/json11.hpp b/json11.hpp index e9fe251..5202ef9 100644 --- a/json11.hpp +++ b/json11.hpp @@ -56,6 +56,18 @@ #include #include +#ifdef _MSC_VER + #if _MSC_VER <= 1800 // VS 2013 + #ifndef noexcept + #define noexcept throw() + #endif + + #ifndef snprintf + #define snprintf _snprintf_s + #endif + #endif +#endif + namespace json11 { enum JsonParse {