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:
parent
98dc2877a5
commit
7498af2fd0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user