[armclang] 使用__clang__代替__CLANG_ARM

This commit is contained in:
Meco Man
2021-12-29 14:14:07 -05:00
parent ead24644f0
commit 5187d75af5
131 changed files with 144 additions and 148 deletions

View File

@@ -68,7 +68,7 @@ void utest_log_lv_set(rt_uint8_t lv)
int utest_init(void)
{
/* initialize the utest commands table.*/
#if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM C Compiler */
#if defined(__ARMCC_VERSION) /* ARM C Compiler */
extern const int UtestTcTab$$Base;
extern const int UtestTcTab$$Limit;
tc_table = (utest_tc_export_t)&UtestTcTab$$Base;