mbed-os/features/frameworks/nanostack-libservice/mbed-client-libservice
Kevin Bracey 1b124e03ca 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-12 16:15:57 +01:00
..
platform Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
common_functions.h Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511 2018-11-05 14:17:48 +02:00
ip4string.h Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d' 2018-07-02 13:15:58 +03:00
ip6string.h Merge commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf' 2018-10-05 13:09:29 +03:00
ip_fsc.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_list.h ns_list: avoid UINT_FAST8_MAX 2019-06-12 16:15:57 +01:00
ns_nvm_helper.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_trace.h Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
ns_types.h Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed' 2019-02-25 13:00:32 +02:00
nsdynmemLIB.h Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d' 2018-07-02 13:15:58 +03:00