mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
[EXPLORER]
- Don't compile FAT support code (WTF) if it's not used svn path=/trunk/; revision=59540
This commit is contained in:
parent
655d3f07a6
commit
585164f4b0
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include "fatfs.h"
|
#include "fatfs.h"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
|
||||||
static union DEntry* link_dir_entries(struct dirent* dir, struct Kette* K, int cnt)
|
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;
|
return j;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // _DEBUG
|
||||||
|
|
|
@ -177,7 +177,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info)
|
||||||
_root._entry = new RegistryRoot();
|
_root._entry = new RegistryRoot();
|
||||||
entry = _root.read_tree(info._path+_tcslen(_root._path));
|
entry = _root.read_tree(info._path+_tcslen(_root._path));
|
||||||
break;
|
break;
|
||||||
|
#ifdef _DEBUG
|
||||||
case ET_FAT: {
|
case ET_FAT: {
|
||||||
_root._drive_type = DRIVE_UNKNOWN;
|
_root._drive_type = DRIVE_UNKNOWN;
|
||||||
_root._sort_order = SORT_NONE;
|
_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));
|
entry = _root.read_tree(info._path+_tcslen(_root._path));
|
||||||
}
|
}
|
||||||
break;}
|
break;}
|
||||||
|
#endif
|
||||||
#ifndef _NO_WIN_FS
|
#ifndef _NO_WIN_FS
|
||||||
default: // ET_WINDOWS
|
default: // ET_WINDOWS
|
||||||
_root._drive_type = GetDriveType(info._path);
|
_root._drive_type = GetDriveType(info._path);
|
||||||
|
|
Loading…
Reference in a new issue