summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-03-13 11:35:26 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2022-03-13 11:41:30 -0400
commita62d36d9e7fd89adfd55ae2428fa9df4243bc435 (patch)
tree7cea698f1d4656d30261172eb15ba4dc8e689635
parent430999e399a5321e97e28ebc6eccc6bc46c618fe (diff)
downloadrockbox-a62d36d9e7fd89adfd55ae2428fa9df4243bc435.tar.gz
rockbox-a62d36d9e7fd89adfd55ae2428fa9df4243bc435.zip
Warble builds define WARBLE fix metadata_common in warble builds
Change-Id: Ie5115162da5a06d917de09f75b90254bb30b7513
-rw-r--r--lib/rbcodec/metadata/metadata_common.c2
-rwxr-xr-xtools/configure2
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)
252 return success; 252 return success;
253} 253}
254 254
255#ifndef ROCKBOX /*codecs can be built without rockbox */ 255#if !defined(ROCKBOX) || defined(WARBLE) /*codecs can be built without rockbox */
256/* returns match index from option list 256/* returns match index from option list
257 * returns -1 if option was not found 257 * returns -1 if option was not found
258 * option list is array of char pointers with the final item set to null 258 * 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
4280 toolset=''; 4280 toolset='';
4281 t_cpu=''; 4281 t_cpu='';
4282 GCCOPTS=''; 4282 GCCOPTS='';
4283 extradefines="$extradefines -DDEBUG" 4283 extradefines="$extradefines -DDEBUG -DWARBLE"
4284 output='warble.'${modelname}; 4284 output='warble.'${modelname};
4285 echo "Warble build selected" 4285 echo "Warble build selected"
4286 ;; 4286 ;;