[EXPLORER]

- Don't compile FAT support code (WTF) if it's not used

svn path=/trunk/; revision=59540
This commit is contained in:
Thomas Faber 2013-07-20 14:38:35 +00:00
parent 655d3f07a6
commit 585164f4b0
2 changed files with 5 additions and 2 deletions

View file

@ -30,6 +30,7 @@
#include "fatfs.h"
#ifdef _DEBUG
static union DEntry* link_dir_entries(struct dirent* dir, struct Kette* K, int cnt)
{
@ -634,3 +635,5 @@ int FATDrive::get_cache_buffer() // search for free cache buffer
return j;
}
#endif // _DEBUG

View file

@ -177,7 +177,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info)
_root._entry = new RegistryRoot();
entry = _root.read_tree(info._path+_tcslen(_root._path));
break;
#ifdef _DEBUG
case ET_FAT: {
_root._drive_type = DRIVE_UNKNOWN;
_root._sort_order = SORT_NONE;
@ -194,7 +194,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info)
entry = _root.read_tree(info._path+_tcslen(_root._path));
}
break;}
#endif
#ifndef _NO_WIN_FS
default: // ET_WINDOWS
_root._drive_type = GetDriveType(info._path);