diff options
| author | Meco Man <[email protected]> | 2021-12-24 07:13:06 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-27 00:51:22 +0800 |
| commit | 2c1077692b7b70f4b573d759c51693bac6e8a49b (patch) | |
| tree | 0c15a594b021372e7a7779df564f8ab96878d206 /include/rtdef.h | |
| parent | fc87122711e5476ac9c1e410ba19915c787a1613 (diff) | |
[rtdef] 将defined(__CC_ARM) || defined(__CLANG_ARM)并为defined(__ARMCC_VERSION)
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 2cf63b6a4c..c22c20beee 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -122,7 +122,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ #define RT_UNUSED(x) ((void)x) /* Compiler Related Definitions */ -#if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM Compiler */ +#if defined(__ARMCC_VERSION) /* ARM Compiler */ #include <stdarg.h> #define RT_SECTION(x) __attribute__((section(x))) #define RT_USED __attribute__((used)) |
