mirror of
https://github.com/dropbox/json11.git
synced 2024-12-15 08:50:05 +08:00
Merge pull request #64 from shrikant-dropbox/master
MSVS 2013 compatibility changes.
This commit is contained in:
commit
913269c7a4
12
json11.hpp
12
json11.hpp
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user