summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-12-11 04:58:25 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-12-11 04:58:25 +0000
commit1190165d068bd1401b46ca286a2175984872ad0d (patch)
tree2d8af427ae20b7d1dcde6d359d7475f57e905c51
parent9788043b11710f755b7b05bd2bd7b27f38aabbdf (diff)
downloadrockbox-1190165d068bd1401b46ca286a2175984872ad0d.tar.gz
rockbox-1190165d068bd1401b46ca286a2175984872ad0d.tar.bz2
rockbox-1190165d068bd1401b46ca286a2175984872ad0d.zip
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
-rw-r--r--apps/metadata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index 88bf378625..8c7188db24 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -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 */