mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 06:43:58 +08:00
[armclang] 使用__clang__代替__CLANG_ARM
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user