Skip to content

Commit 3fb8224

Browse files
committed
Update mbed_stats.c to use __ARMCC_VERSION flag to be compatible with AC6
1 parent 235a75f commit 3fb8224

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)