summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorcrazt <[email protected]>2021-03-23 19:11:22 +0800
committercrazt <[email protected]>2021-03-23 19:11:22 +0800
commit7272da20c20d4d24f023c72e1f5a8d9476fc23b5 (patch)
tree4499839710e6a77beeed4b671284bb06b852642b /include/rtdef.h
parent7e275bdc109577055a65f35d1d23a65c2741e37b (diff)
[toolchain] fix TASKING toolchain attributes .
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 38686492b1..b936a33455 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