MSVS 2013 compatibility changes.

mutable-v2
Shrikant Kelkar 2016-06-20 17:36:17 -07:00
parent a20878aaa5
commit f6c0f68737
1 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,18 @@
#include <memory>
#include <initializer_list>
#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 {