Merge pull request #3305 from micromint/critical-cpp

Support building mbed_critical.c with C++ compiler
pull/3322/head
Martin Kojtal 2016-11-29 18:23:15 +01:00 committed by GitHub
commit cfd3033a48
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"