mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-28 10:00:24 +00:00
[armclang] 使用__clang__代替__CLANG_ARM
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user