mbed library sources. Supersedes mbed-src.
Dependents: SPIne CH_Communicatuin_Test CH_Communicatuin_Test2 MCP_SPIne ... more
Fork of mbed-dev-f303 by
Diff: platform/mbed_critical.c
- Revision:
- 153:fa9ff456f731
- Parent:
- 149:156823d33999
- Child:
- 160:d5399cc887bb
diff -r 9a67f0b066fc -r fa9ff456f731 platform/mbed_critical.c --- a/platform/mbed_critical.c Thu Dec 15 11:48:27 2016 +0000 +++ b/platform/mbed_critical.c Tue Dec 20 17:27:56 2016 +0000 @@ -15,6 +15,8 @@ * limitations under the License. */ +/* Declare __STDC_LIMIT_MACROS so stdint.h defines UINT32_MAX when using C++ */ +#define __STDC_LIMIT_MACROS #include "platform/critical.h" #include "cmsis.h"