[armclang] 使用__clang__代替__CLANG_ARM

This commit is contained in:
Meco Man
2021-12-29 14:15:38 -05:00
parent ead24644f0
commit 5187d75af5
131 changed files with 144 additions and 148 deletions
+2 -2
View File
@@ -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