mbed-os/features/frameworks/nanostack-libservice
Kevin Bracey 5c3b15cf81 ns_list: avoid UINT_FAST8_MAX
Prevent compilation issues when someone has included <stdint.h> before
a header file that needs to include <ns_list.h>.

Some toolchains like ARM C 5 will not provide UINT_FAST8_MAX in C++
unless __STDC_LIMIT_MACROS is defined, and if this was not defined the
first time <stdint.h> was included, it's too late.

We can get the maximum value for our unsigned list offset by casting -1
to it, thanks to modulo arithmetic.
2019-06-11 17:13:27 +03:00
..
mbed-client-libservice
source
test/libService/unittest
.gitignore
.mbedignore
.yotta_ignore
LICENSE
Makefile
README.md
apache-2.0.txt
mbed_lib.json

README.md

mbed-client-libservice module

Collection of helper libraries for mbed-client and 6LowPAN/IPv6/RPL/MLE/Thread stack.