diff options
| author | Bernard Xiong <[email protected]> | 2021-03-23 20:08:15 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-23 20:08:15 +0800 |
| commit | e4b505af230856d4d8bf1a805bca353a67f8cb82 (patch) | |
| tree | f307448359352d5ce07751ea8b8402f4bb39b684 | |
| parent | b8567de625fd73cd0d9b8fa5c56602e93f189dbe (diff) | |
| parent | 7272da20c20d4d24f023c72e1f5a8d9476fc23b5 (diff) | |
Merge pull request #4505 from CraztTnspt/master
[toolchain] fix TASKING toolchain attributes .
| -rw-r--r-- | include/rtdef.h | 2 |
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 |
