diff options
Diffstat (limited to 'json/json-forwards.h')
| -rw-r--r-- | json/json-forwards.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/json/json-forwards.h b/json/json-forwards.h index 34243899..a20d79d9 100644 --- a/json/json-forwards.h +++ b/json/json-forwards.h @@ -166,6 +166,7 @@ license you like. // In c++11 the override keyword allows you to explicity define that a function // is intended to override the base-class version. This makes the code more // managable and fixes a set of common hard-to-find bugs. + #if __cplusplus >= 201103L # define JSONCPP_OVERRIDE override # define JSONCPP_NOEXCEPT noexcept @@ -244,8 +245,10 @@ typedef unsigned int LargestUInt; typedef __int64 Int64; typedef unsigned __int64 UInt64; #else // if defined(_MSC_VER) // Other platforms, use long long + typedef int64_t Int64; typedef uint64_t UInt64; + #endif // if defined(_MSC_VER) typedef Int64 LargestInt; typedef UInt64 LargestUInt; |
