mirror of https://github.com/ARMmbed/mbed-os.git
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. |
||
---|---|---|
.. | ||
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.