Support building mbed_critical.c with C++ compiler

pull/3305/head
micromint 2016-11-21 12:59:45 -04:00
parent aeabcc9472
commit 22c0e3560b
1 changed files with 2 additions and 0 deletions

View File

@ -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"