diff options
| author | Meco Man <[email protected]> | 2021-12-29 14:14:07 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-12-29 14:15:38 -0500 |
| commit | 5187d75af538d9ae268e7d4d31dd412f20d0a63d (patch) | |
| tree | 953af30a8faeb298e945b30eb761eb25c967da67 /components/libc/compilers | |
| parent | ead24644f008232f81e0408bfb15e99deff115bb (diff) | |
[armclang] 使用__clang__代替__CLANG_ARM
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/armlibc/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/armlibc/syscalls.c b/components/libc/compilers/armlibc/syscalls.c index 54d8b40bf6..14b47d3627 100644 --- a/components/libc/compilers/armlibc/syscalls.c +++ b/components/libc/compilers/armlibc/syscalls.c @@ -30,11 +30,11 @@ #define DBG_LVL DBG_INFO #include <rtdbg.h> -#ifdef __CLANG_ARM +#ifdef __clang__ __asm(".global __use_no_semihosting\n\t"); #else #pragma import(__use_no_semihosting_swi) -#endif /* __CLANG_ARM */ +#endif /* Standard IO device handles. */ #define STDIN 0 |
