We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8dc10 commit 1a7e762Copy full SHA for 1a7e762
include/json/config.h
@@ -87,7 +87,7 @@
87
#define JSONCPP_DEPRECATED(message)
88
#endif // if !defined(JSONCPP_DEPRECATED)
89
90
-#include <stdint.h>
+#include <cstdint>
91
namespace Json {
92
typedef int Int;
93
typedef unsigned int UInt;
@@ -100,9 +100,12 @@ typedef unsigned int LargestUInt;
100
#if defined(_MSC_VER) // Microsoft Visual Studio
101
typedef __int64 Int64;
102
typedef unsigned __int64 UInt64;
103
-#else // if defined(_MSC_VER) // Other platforms, use long long
+#elif __cplusplus >= 201103L // Using C++11
104
typedef int64_t Int64;
105
typedef uint64_t UInt64;
106
+#else // Other platforms, use long long
107
+typedef long long Int64;
108
+typedef unsigned long long Uint64;
109
#endif // if defined(_MSC_VER)
110
typedef Int64 LargestInt;
111
typedef UInt64 LargestUInt;
0 commit comments