summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-07-30 09:47:56 +0000
committerbernard.xiong <[email protected]>2010-07-30 09:47:56 +0000
commit445da145e267d3998965f2edccda04c2c08e0a66 (patch)
tree78c6527df54352c816649700ac99da7731c7668d /components/rtgui/widgets
parentb9fcbfc34489856a06554c0a3c453ad60e20cecd (diff)
fix compiling error if there is no DFS file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@818 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets')
-rw-r--r--components/rtgui/widgets/filelist_view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/rtgui/widgets/filelist_view.c b/components/rtgui/widgets/filelist_view.c
index 1a8108b196..9edceac898 100644
--- a/components/rtgui/widgets/filelist_view.c
+++ b/components/rtgui/widgets/filelist_view.c
@@ -24,6 +24,7 @@
#include <rtgui/widgets/listbox.h>
#include <rtgui/widgets/window.h>
+#if defined(RTGUI_USING_DFS_FILERW) || defined(RTGUI_USING_STDIO_FILERW)
#ifdef _WIN32
#include <io.h>
#include <dirent.h>
@@ -835,3 +836,4 @@ void rtgui_filelist_view_get_fullpath(rtgui_filelist_view_t* view, char* path, r
rt_snprintf(path, len, "%s%s",view->current_directory,
view->items[view->current_item].name);
}
+#endif