git-svn-id: https://rt-thread.googlecode.com/svn/trunk@717 bbd45198-f89e-11dd-88c7-29a3b14d5316
@@ -14,8 +14,7 @@
* 2006-08-10 Bernard add version information
* 2007-01-28 Bernard rename RT_OBJECT_Class_Static to RT_Object_Class_Static
* 2007-03-03 Bernard clean up the definitions to rtdef.h
- * 2010-04-11 yi.qiu add module feature
-
+ * 2010-04-11 yi.qiu add module feature
*/
#ifndef __RT_THREAD_H__
@@ -16,7 +16,7 @@
#include <rtm.h>
/* some buildin kernel symbol */
+#ifdef RT_USING_MODULE
/*
* thread interface symbol
@@ -142,3 +142,4 @@ RTM_EXPORT(rt_timer_control)
RTM_EXPORT(rt_kprintf)
+#endif