Allow mixed configuration in compilation units (issue #809)

This commit is contained in:
Benoit Blanchon committed 2018-10-02 16:54:05 +02:00
1 parent 29e71cbb16
commit 527dc19794
122 files changed
+580 -691

No files matched your search

@@ -63,7 +63,7 @@ TEST_CASE("deserialize MsgPack value") {
}
SECTION("uint 64") {
#if ARDUINOJSON_USE_LONG_LONG || ARDUINOJSON_USE_INT64
#if ARDUINOJSON_USE_LONG_LONG
check<uint64_t>("\xCF\x00\x00\x00\x00\x00\x00\x00\x00", 0U);
check<uint64_t>("\xCF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
0xFFFFFFFFFFFFFFFFU);
@@ -94,7 +94,7 @@ TEST_CASE("deserialize MsgPack value") {
}
SECTION("int 64") {
#if ARDUINOJSON_USE_LONG_LONG || ARDUINOJSON_USE_INT64
#if ARDUINOJSON_USE_LONG_LONG
check<uint64_t>("\xD3\x00\x00\x00\x00\x00\x00\x00\x00", 0U);
check<uint64_t>("\xD3\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
0xFFFFFFFFFFFFFFFFU);