mirror of https://github.com/ARMmbed/mbed-os.git
Support building mbed_critical.c with C++ compiler
parent
aeabcc9472
commit
22c0e3560b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue