Skip to content

Commit e03b3b6

Browse files
author
Cruz Monrreal
authored
Merge pull request #9806 from SenRamakri/sen_UpdateStatsARMCCFlags
Update mbed_stats.c to use __ARMCC_VERSION flag for compatibility with AC6
2 parents 497d0d6 + 3fb8224 commit e03b3b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void mbed_stats_sys_get(mbed_stats_sys_t *stats)
170170
#if defined(__IAR_SYSTEMS_ICC__)
171171
stats->compiler_id = IAR;
172172
stats->compiler_version = __VER__;
173-
#elif defined(__CC_ARM)
173+
#elif defined(__ARMCC_VERSION)
174174
stats->compiler_id = ARM;
175175
stats->compiler_version = __ARMCC_VERSION;
176176
#elif defined(__GNUC__)

0 commit comments

Comments
 (0)