From 7272da20c20d4d24f023c72e1f5a8d9476fc23b5 Mon Sep 17 00:00:00 2001 From: crazt Date: Tue, 23 Mar 2021 19:11:22 +0800 Subject: [PATCH] [toolchain] fix TASKING toolchain attributes . --- include/rtdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtdef.h b/include/rtdef.h index 38686492b..b936a3345 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -198,7 +198,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ #define RT_UNUSED __attribute__((unused)) #define RT_USED __attribute__((used, protect)) #define PRAGMA(x) _Pragma(#x) - #define ALIGN(n) __attribute__((aligned(n))) + #define ALIGN(n) __attribute__((__align(n))) #define RT_WEAK __attribute__((weak)) #define rt_inline static inline #define RTT_API -- GitLab