summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-03-24 00:26:05 +0800
committerGitHub <[email protected]>2021-03-24 00:26:05 +0800
commit8fccef5894812b07255d97338239c9d23a6735c1 (patch)
tree1c02f5ffbb091cb14b4d68b13396d8d555c8e7fb /include
parent061182271fbf02cf5c3410e3c8083a062a31a2b3 (diff)
parent50bf4902636eda180d33f12a52bb21a7d603bdf8 (diff)
Merge pull request #30 from RT-Thread/master
p
Diffstat (limited to 'include')
-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