mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user