From 5afd0668e5c10cb37dddcbdf44bd2a9d9ef06d14 Mon Sep 17 00:00:00 2001 From: Michael Hohmuth Date: Tue, 8 Feb 2011 20:50:25 +0000 Subject: [PATCH] Fix red: Do not compile autoresume() function for the database tool. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29252 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/metadata.c b/apps/metadata.c index da20a0df2b..9403625eda 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -427,6 +427,7 @@ void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig) adjust_mp3entry(dest, dest, orig); } +#ifndef __PCTOOL__ #ifdef HAVE_TAGCACHE #if CONFIG_CODEC == SWCODEC @@ -472,3 +473,4 @@ bool autoresumable(struct mp3entry *id3) #endif /* SWCODEC */ #endif /* HAVE_TAGCACHE */ +#endif /* __PCTOOL__ */