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. |
||
|---|---|---|
| .. | ||
| FEATURE_BLE | ||
| FEATURE_BOOTLOADER | ||
| cellular | ||
| cryptocell/FEATURE_CRYPTOCELL310 | ||
| deprecated_warnings | ||
| device_key | ||
| frameworks | ||
| lorawan | ||
| lwipstack | ||
| mbedtls | ||
| nanostack | ||
| netsocket | ||
| nfc | ||
| storage | ||
| unsupported | ||