mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3305 from micromint/critical-cpp
Support building mbed_critical.c with C++ compilerpull/3322/head
commit
cfd3033a48
|
@ -15,6 +15,8 @@
|
||||||
* limitations under the License.
|
* 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 "platform/critical.h"
|
||||||
|
|
||||||
#include "cmsis.h"
|
#include "cmsis.h"
|
||||||
|
|
Loading…
Reference in New Issue