From a62d36d9e7fd89adfd55ae2428fa9df4243bc435 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 13 Mar 2022 11:35:26 -0400 Subject: Warble builds define WARBLE fix metadata_common in warble builds Change-Id: Ie5115162da5a06d917de09f75b90254bb30b7513 --- lib/rbcodec/metadata/metadata_common.c | 2 +- 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" ;; -- cgit v1.2.3