提交 ca52080a 编写于 作者: D dzzxzz

change "inline" to "static inline" for IAR compiler

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1319 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 b2e2825f
......@@ -90,7 +90,7 @@ typedef rt_uint32_t rt_off_t; /**< Type for offset */
#define UNUSED
#define PRAGMA(x) _Pragma(#x)
#define ALIGN(n) PRAGMA(data_alignment=n)
#define rt_inline inline
#define rt_inline static inline
#define RTT_API
#elif defined (__GNUC__) /* GNU GCC Compiler */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册