Merge pull request #64 from shrikant-dropbox/master

MSVS 2013 compatibility changes.
mutable-v2
Andrew Twyman 2016-06-20 17:58:44 -07:00 committed by GitHub
commit 913269c7a4
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 {