diff options
| author | qiuyiuestc <[email protected]> | 2010-05-29 14:19:56 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-05-29 14:19:56 +0000 |
| commit | 8b8dba661f5e29e1592cc9df92ef219099809330 (patch) | |
| tree | 31451ddff2d979d338cc0e9fc25b74bda5117632 /include/rtm.h | |
| parent | 1fb4d848370a33e176b2a3bf7fb532e7ed8e7823 (diff) | |
module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtm.h')
| -rw-r--r-- | include/rtm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtm.h b/include/rtm.h index 596d5f7f07..653d94327f 100644 --- a/include/rtm.h +++ b/include/rtm.h @@ -2,6 +2,7 @@ #define __RTM_H__
#include <rtdef.h>
+#include <rtthread.h>
#ifdef RT_USING_MODULE
#define RTM_EXPORT(symbol) \
@@ -11,6 +12,7 @@ const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \ (rt_uint32_t)&symbol, \
__rtmsym_##symbol##_name, \
};
+
#else
#define RTM_EXPORT(symbol)
#endif
|
