[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

@@ -115,10 +115,6 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define RT_MB_ENTRY_MAX RT_UINT16_MAX /**< Maxium number of mailbox .entry */
#define RT_MQ_ENTRY_MAX RT_UINT16_MAX /**< Maxium number of message queue .entry */
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
#define __CLANG_ARM
#endif
#define RT_UNUSED(x) ((void)x)
/* Compiler Related Definitions */