mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 03:30:26 +08:00
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…
x
Reference in New Issue
Block a user