diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-12 09:26:23 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-12 09:26:23 +0200 |
commit | 789986a05bd03935f1c344dc03ffaff36c8e7cdb (patch) | |
tree | 65b308c6705110aeb7853a10e44e0e6d7de6ed49 /include/lib/ArduinoJson/Polyfills | |
parent | 39895a677e5d370824e702cfe90ebc67737b8482 (diff) |
Make ArduinoJson work with MSP430 headers
Diffstat (limited to 'include/lib/ArduinoJson/Polyfills')
19 files changed, 25 insertions, 25 deletions
diff --git a/include/lib/ArduinoJson/Polyfills/alias_cast.hpp b/include/lib/ArduinoJson/Polyfills/alias_cast.hpp index 8f8e277..96fa4a1 100644 --- a/include/lib/ArduinoJson/Polyfills/alias_cast.hpp +++ b/include/lib/ArduinoJson/Polyfills/alias_cast.hpp @@ -7,7 +7,7 @@ #include <stdint.h> #include <stdlib.h> // for size_t -#include <ArduinoJson/Configuration.hpp> +#include "lib/ArduinoJson/Configuration.hpp" #include "math.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/assert.hpp b/include/lib/ArduinoJson/Polyfills/assert.hpp index 1030ec6..21fe3c5 100644 --- a/include/lib/ArduinoJson/Polyfills/assert.hpp +++ b/include/lib/ArduinoJson/Polyfills/assert.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Configuration.hpp> +#include "lib/ArduinoJson/Configuration.hpp" #if ARDUINOJSON_DEBUG #include <assert.h> diff --git a/include/lib/ArduinoJson/Polyfills/ctype.hpp b/include/lib/ArduinoJson/Polyfills/ctype.hpp index bd7a8cc..c6e9f7b 100644 --- a/include/lib/ArduinoJson/Polyfills/ctype.hpp +++ b/include/lib/ArduinoJson/Polyfills/ctype.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/integer.hpp b/include/lib/ArduinoJson/Polyfills/integer.hpp index 066c7b8..ea56789 100644 --- a/include/lib/ArduinoJson/Polyfills/integer.hpp +++ b/include/lib/ArduinoJson/Polyfills/integer.hpp @@ -6,7 +6,7 @@ #include <stdint.h> // int8_t, int16_t -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/math.hpp b/include/lib/ArduinoJson/Polyfills/math.hpp index eff272a..b8c37c8 100644 --- a/include/lib/ArduinoJson/Polyfills/math.hpp +++ b/include/lib/ArduinoJson/Polyfills/math.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/mpl/max.hpp b/include/lib/ArduinoJson/Polyfills/mpl/max.hpp index 9ac47a5..a7e827a 100644 --- a/include/lib/ArduinoJson/Polyfills/mpl/max.hpp +++ b/include/lib/ArduinoJson/Polyfills/mpl/max.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" #include <stddef.h> // for size_t diff --git a/include/lib/ArduinoJson/Polyfills/pgmspace.hpp b/include/lib/ArduinoJson/Polyfills/pgmspace.hpp index f253818..31c0ecc 100644 --- a/include/lib/ArduinoJson/Polyfills/pgmspace.hpp +++ b/include/lib/ArduinoJson/Polyfills/pgmspace.hpp @@ -4,9 +4,9 @@ #pragma once -#include <ArduinoJson/Configuration.hpp> -#include <ArduinoJson/Namespace.hpp> -#include <ArduinoJson/Polyfills/assert.hpp> +#include "lib/ArduinoJson/Configuration.hpp" +#include "lib/ArduinoJson/Namespace.hpp" +#include "lib/ArduinoJson/Polyfills/assert.hpp" namespace ARDUINOJSON_NAMESPACE { // Wraps a const char* so that the our functions are picked only if the diff --git a/include/lib/ArduinoJson/Polyfills/pgmspace_generic.hpp b/include/lib/ArduinoJson/Polyfills/pgmspace_generic.hpp index f5bbd85..772e431 100644 --- a/include/lib/ArduinoJson/Polyfills/pgmspace_generic.hpp +++ b/include/lib/ArduinoJson/Polyfills/pgmspace_generic.hpp @@ -4,8 +4,8 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> -#include <ArduinoJson/Polyfills/type_traits.hpp> +#include "lib/ArduinoJson/Namespace.hpp" +#include "lib/ArduinoJson/Polyfills/type_traits.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/safe_strcmp.hpp b/include/lib/ArduinoJson/Polyfills/safe_strcmp.hpp index e017b5d..9baee5a 100644 --- a/include/lib/ArduinoJson/Polyfills/safe_strcmp.hpp +++ b/include/lib/ArduinoJson/Polyfills/safe_strcmp.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" #include <stdint.h> // int8_t diff --git a/include/lib/ArduinoJson/Polyfills/static_array.hpp b/include/lib/ArduinoJson/Polyfills/static_array.hpp index a877b4c..c9a53ec 100644 --- a/include/lib/ArduinoJson/Polyfills/static_array.hpp +++ b/include/lib/ArduinoJson/Polyfills/static_array.hpp @@ -4,11 +4,11 @@ #pragma once -#include <ArduinoJson/Configuration.hpp> +#include "lib/ArduinoJson/Configuration.hpp" #if ARDUINOJSON_ENABLE_PROGMEM -#include <ArduinoJson/Polyfills/pgmspace_generic.hpp> +#include "lib/ArduinoJson/Polyfills/pgmspace_generic.hpp" #ifndef ARDUINOJSON_DEFINE_STATIC_ARRAY #define ARDUINOJSON_DEFINE_STATIC_ARRAY(type, name, value) \ diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/conditional.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/conditional.hpp index e42d1bb..226c2ef 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/conditional.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/conditional.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/declval.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/declval.hpp index 8708112..6c24bf3 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/declval.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/declval.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/enable_if.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/enable_if.hpp index cc29b33..cfa0919 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/enable_if.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/enable_if.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/integral_constant.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/integral_constant.hpp index b53d711..4e4414f 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/integral_constant.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/integral_constant.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/is_array.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/is_array.hpp index ee739a7..8272cb1 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/is_array.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/is_array.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" #include <stddef.h> // size_t @@ -16,6 +16,6 @@ struct is_array : false_type {}; template <typename T> struct is_array<T[]> : true_type {}; -template <typename T, size_t N> -struct is_array<T[N]> : true_type {}; +template <typename T, size_t TN> +struct is_array<T[TN]> : true_type {}; } // namespace ARDUINOJSON_NAMESPACE diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/is_base_of.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/is_base_of.hpp index 32b41cd..7c69eff 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/is_base_of.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/is_base_of.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/is_integral.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/is_integral.hpp index 26e895c..1961880 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/is_integral.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/is_integral.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Configuration.hpp> +#include "lib/ArduinoJson/Configuration.hpp" #include "is_same.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/remove_const.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/remove_const.hpp index 5a19eb1..074cbe2 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/remove_const.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/remove_const.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/remove_reference.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/remove_reference.hpp index 1812850..23dc7b3 100644 --- a/include/lib/ArduinoJson/Polyfills/type_traits/remove_reference.hpp +++ b/include/lib/ArduinoJson/Polyfills/type_traits/remove_reference.hpp @@ -4,7 +4,7 @@ #pragma once -#include <ArduinoJson/Namespace.hpp> +#include "lib/ArduinoJson/Namespace.hpp" namespace ARDUINOJSON_NAMESPACE { |