add RT_USING_MODULE macro condition.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@970 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2010-09-27 23:30:22 +00:00
parent 98dc2877a5
commit 7498af2fd0

View File

@ -9,6 +9,7 @@
#include <rtgui/widgets/filelist_view.h>
#include <string.h>
#ifdef RT_USING_MODULE
static rt_module_t module = RT_NULL;
static rtgui_view_t* _view = RT_NULL;
@ -81,3 +82,4 @@ rtgui_view_t* demo_view_module(rtgui_workbench_t* workbench)
return _view;
}
#endif