change "inline" to "static inline" for IAR compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1319 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
b2e2825fb8
commit
ca52080ade
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue