File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 22#ifndef HT_SERIAL_MSGPACK_PACKER_H
33#define HT_SERIAL_MSGPACK_PACKER_H
44
5+ #ifdef ARDUINO_ARCH_ZEPHYR
6+ #define ARX_HAVE_LIBSTDCPLUSPLUS 201103L
7+ #else
58#include < ArxTypeTraits.h>
69#include < ArxContainer.h>
10+ #endif
11+
712#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
813#include < vector>
914#include < array>
Original file line number Diff line number Diff line change @@ -22,8 +22,15 @@ static constexpr uint8_t INT5 = INT5_TEMP_VALUE;
2222#define INT5 INT5
2323#endif
2424
25+ #ifdef ARDUINO_ARCH_ZEPHYR
26+ #define ARX_HAVE_LIBSTDCPLUSPLUS 201103L
27+ #include < vector>
28+ #include < array>
29+ #include < map>
30+ #else
2531#include < ArxTypeTraits.h>
2632#include < ArxContainer.h>
33+ #endif
2734
2835namespace arduino {
2936namespace msgpack {
Original file line number Diff line number Diff line change 22#ifndef HT_SERIAL_MSGPACK_UNPACKER_H
33#define HT_SERIAL_MSGPACK_UNPACKER_H
44
5+ #ifdef ARDUINO_ARCH_ZEPHYR
6+ #define ARX_HAVE_LIBSTDCPLUSPLUS 201103L
7+ #else
58#include < ArxTypeTraits.h>
69#include < ArxContainer.h>
10+ #endif
11+
712#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
813#include < vector>
914#include < array>
You can’t perform that action at this time.
0 commit comments