diff options
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r-- | apps/tagcache.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index d7047178e1..f2b975c566 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #ifndef _TAGCACHE_H | 22 | #ifndef _TAGCACHE_H |
23 | #define _TAGCACHE_H | 23 | #define _TAGCACHE_H |
24 | 24 | ||
25 | #include "system.h" | ||
25 | #include "metadata.h" | 26 | #include "metadata.h" |
26 | 27 | ||
27 | /** | 28 | /** |
@@ -103,12 +104,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, | |||
103 | (1LU << tag_virt_playtime_min) | (1LU << tag_virt_playtime_sec) | \ | 104 | (1LU << tag_virt_playtime_min) | (1LU << tag_virt_playtime_sec) | \ |
104 | (1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore)) | 105 | (1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore)) |
105 | 106 | ||
106 | #ifdef CPU_SH | 107 | #define TAGCACHE_IS_NUMERIC(tag) (BIT_N(tag) & TAGCACHE_NUMERIC_TAGS) |
107 | extern const char tagcache_numeric_tags[]; | ||
108 | #define TAGCACHE_IS_NUMERIC(tag) ((bool)tagcache_numeric_tags[tag]) | ||
109 | #else | ||
110 | #define TAGCACHE_IS_NUMERIC(tag) ((1LU << tag) & TAGCACHE_NUMERIC_TAGS) | ||
111 | #endif | ||
112 | 108 | ||
113 | /* Flags */ | 109 | /* Flags */ |
114 | #define FLAG_DELETED 0x0001 /* Entry has been removed from db */ | 110 | #define FLAG_DELETED 0x0001 /* Entry has been removed from db */ |