|
|
@@ -12,10 +12,10 @@
|
|
|
namespace ARDUINOJSON_NAMESPACE {
|
|
|
|
|
|
#if ARDUINOJSON_USE_LONG_LONG
|
|
|
-typedef int64_t Integer;
|
|
|
+typedef int64_t JsonInteger;
|
|
|
typedef uint64_t UInt;
|
|
|
#else
|
|
|
-typedef long Integer;
|
|
|
+typedef long JsonInteger;
|
|
|
typedef unsigned long UInt;
|
|
|
#endif
|
|
|
|
|
|
@@ -23,7 +23,7 @@ typedef unsigned long UInt;
|
|
|
|
|
|
#if ARDUINOJSON_HAS_LONG_LONG && !ARDUINOJSON_USE_LONG_LONG
|
|
|
# define ARDUINOJSON_ASSERT_INTEGER_TYPE_IS_SUPPORTED(T) \
|
|
|
- static_assert(sizeof(T) <= sizeof(ARDUINOJSON_NAMESPACE::Integer), \
|
|
|
+ static_assert(sizeof(T) <= sizeof(ARDUINOJSON_NAMESPACE::JsonInteger), \
|
|
|
"To use 64-bit integers with ArduinoJson, you must set " \
|
|
|
"ARDUINOJSON_USE_LONG_LONG to 1. See " \
|
|
|
"https://arduinojson.org/v6/api/config/use_long_long/");
|