mirror of https://github.com/ARMmbed/mbed-os.git
Update mbed_stats.c to use __ARMCC_VERSION flag to be compatible with AC6
parent
235a75f5b8
commit
3fb8224237
|
@ -170,7 +170,7 @@ void mbed_stats_sys_get(mbed_stats_sys_t *stats)
|
|||
#if defined(__IAR_SYSTEMS_ICC__)
|
||||
stats->compiler_id = IAR;
|
||||
stats->compiler_version = __VER__;
|
||||
#elif defined(__CC_ARM)
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
stats->compiler_id = ARM;
|
||||
stats->compiler_version = __ARMCC_VERSION;
|
||||
#elif defined(__GNUC__)
|
||||
|
|
Loading…
Reference in New Issue