diff options
| author | Meco Man <[email protected]> | 2021-02-11 09:45:49 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-11 09:45:49 -0600 |
| commit | f0805a7973ffe62e459da7748cbada62bccf98b9 (patch) | |
| tree | 9150992340323657482d81a2bedd9497e9d429ab /include/rtdef.h | |
| parent | 852d7d7552bd3fe898115ea16ba401970b0d1fad (diff) | |
| parent | a4dd106d49667aed3ca5e7a7fa3ef8f650070f45 (diff) | |
Merge pull request #16 from RT-Thread/master
pr
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index e4ddbd37d3..1226b43020 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -192,6 +192,18 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ #define RT_WEAK #define rt_inline static inline #define RTT_API +#elif defined (__TASKING__) + + #include <stdarg.h> + #define SECTION(x) + #define RT_UNUSED + #define RT_USED + #define PRAGMA(x) _Pragma(#x) + #define ALIGN(n) + #define RT_WEAK + #define rt_inline static inline + #define RTT_API + #else #error not supported tool chain #endif |
