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:
Michael Giacomelli 2010-12-11 04:58:25 +00:00
parent 9788043b11
commit 1190165d06

View file

@ -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 */