Commit small piece of FS#11748 by Michael Hohmuth. Disables database specific fields if the database is not compiled in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28790 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9788043b11
commit
1190165d06
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,7 @@ struct mp3entry {
|
|||
unsigned long offset; /* bytes played */
|
||||
int index; /* playlist index */
|
||||
|
||||
#ifdef HAVE_TAGCACHE
|
||||
/* runtime database fields */
|
||||
long tagcache_idx; /* 0=invalid, otherwise idx+1 */
|
||||
int rating;
|
||||
|
@ -253,6 +254,7 @@ struct mp3entry {
|
|||
long playcount;
|
||||
long lastplayed;
|
||||
long playtime;
|
||||
#endif
|
||||
|
||||
/* replaygain support */
|
||||
|
||||
|
|
Loading…
Reference in a new issue