For gcc>=6 JSON_USE_INT64_DOUBLE_CONVERSION

This commit is contained in:
Christopher Dunn
2016-02-07 11:09:41 -06:00
parent 9a4b1e39bf
commit 95f120f68e
2 changed files with 6 additions and 1 deletions

View File

@@ -114,6 +114,10 @@
#define JSONCPP_DEPRECATED(message)
#endif // if !defined(JSONCPP_DEPRECATED)
#if __GNUC__ >= 6
# define JSON_USE_INT64_DOUBLE_CONVERSION 1
#endif
namespace Json {
typedef int Int;
typedef unsigned int UInt;