[toolchain] fix TASKING toolchain attributes .

This commit is contained in:
crazt 2021-03-23 19:11:22 +08:00
parent 7e275bdc10
commit 7272da20c2
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define RT_UNUSED __attribute__((unused)) #define RT_UNUSED __attribute__((unused))
#define RT_USED __attribute__((used, protect)) #define RT_USED __attribute__((used, protect))
#define PRAGMA(x) _Pragma(#x) #define PRAGMA(x) _Pragma(#x)
#define ALIGN(n) __attribute__((aligned(n))) #define ALIGN(n) __attribute__((__align(n)))
#define RT_WEAK __attribute__((weak)) #define RT_WEAK __attribute__((weak))
#define rt_inline static inline #define rt_inline static inline
#define RTT_API #define RTT_API