Redo previous commit to not break android builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27972 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4ada1ee44e
commit
a4264eb89a
3 changed files with 9 additions and 4 deletions
|
@ -54,7 +54,6 @@ int strip_volume(const char* name, char* namecopy)
|
||||||
}
|
}
|
||||||
#endif /* #ifdef HAVE_MULTIVOLUME */
|
#endif /* #ifdef HAVE_MULTIVOLUME */
|
||||||
|
|
||||||
#ifndef __PCTOOL__
|
|
||||||
/* Test file existence, using dircache of possible */
|
/* Test file existence, using dircache of possible */
|
||||||
bool file_exists(const char *file)
|
bool file_exists(const char *file)
|
||||||
{
|
{
|
||||||
|
@ -89,10 +88,10 @@ bool dir_exists(const char *path)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __PCTOOL__ */
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||||
|
|
||||||
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
|
struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)
|
||||||
{
|
{
|
||||||
(void)parent;
|
(void)parent;
|
||||||
return entry->info;
|
return entry->info;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -8,7 +8,6 @@ database.c
|
||||||
../../apps/mp3data.c
|
../../apps/mp3data.c
|
||||||
../../apps/tagcache.c
|
../../apps/tagcache.c
|
||||||
../../firmware/common/crc32.c
|
../../firmware/common/crc32.c
|
||||||
../../firmware/common/filefuncs.c
|
|
||||||
../../firmware/common/strlcpy.c
|
../../firmware/common/strlcpy.c
|
||||||
../../firmware/common/strcasestr.c
|
../../firmware/common/strcasestr.c
|
||||||
../../firmware/common/structec.c
|
../../firmware/common/structec.c
|
||||||
|
|
|
@ -347,6 +347,13 @@ struct sim_dirent *sim_readdir(MYDIR *dir)
|
||||||
return &secret;
|
return &secret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct dirinfo dir_get_info(DIR* parent, struct sim_dirent *entry)
|
||||||
|
{
|
||||||
|
(void)parent;
|
||||||
|
return entry->info;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void sim_closedir(MYDIR *dir)
|
void sim_closedir(MYDIR *dir)
|
||||||
{
|
{
|
||||||
free(dir->name);
|
free(dir->name);
|
||||||
|
|
Loading…
Reference in a new issue