diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-13 11:35:26 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-03-13 11:41:30 -0400 |
commit | a62d36d9e7fd89adfd55ae2428fa9df4243bc435 (patch) | |
tree | 7cea698f1d4656d30261172eb15ba4dc8e689635 | |
parent | 430999e399a5321e97e28ebc6eccc6bc46c618fe (diff) | |
download | rockbox-a62d36d9e7.tar.gz rockbox-a62d36d9e7.zip |
Warble builds define WARBLE fix metadata_common in warble builds
Change-Id: Ie5115162da5a06d917de09f75b90254bb30b7513
-rw-r--r-- | lib/rbcodec/metadata/metadata_common.c | 2 | ||||
-rwxr-xr-x | tools/configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/metadata/metadata_common.c b/lib/rbcodec/metadata/metadata_common.c index 2586b2b65e..202da49522 100644 --- a/lib/rbcodec/metadata/metadata_common.c +++ b/lib/rbcodec/metadata/metadata_common.c @@ -252,7 +252,7 @@ bool skip_id3v2(int fd, struct mp3entry *id3) return success; } -#ifndef ROCKBOX /*codecs can be built without rockbox */ +#if !defined(ROCKBOX) || defined(WARBLE) /*codecs can be built without rockbox */ /* returns match index from option list * returns -1 if option was not found * option list is array of char pointers with the final item set to null diff --git a/tools/configure b/tools/configure index 67c0b6a418..ac657e38c9 100755 --- a/tools/configure +++ b/tools/configure @@ -4280,7 +4280,7 @@ fi toolset=''; t_cpu=''; GCCOPTS=''; - extradefines="$extradefines -DDEBUG" + extradefines="$extradefines -DDEBUG -DWARBLE" output='warble.'${modelname}; echo "Warble build selected" ;; |