Warble builds define WARBLE fix metadata_common in warble builds

Change-Id: Ie5115162da5a06d917de09f75b90254bb30b7513
This commit is contained in:
William Wilgus 2022-03-13 11:35:26 -04:00 committed by William Wilgus
parent 430999e399
commit a62d36d9e7
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@ bool skip_id3v2(int fd, struct mp3entry *id3)
return success; 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 match index from option list
* returns -1 if option was not found * returns -1 if option was not found
* option list is array of char pointers with the final item set to null * option list is array of char pointers with the final item set to null

2
tools/configure vendored
View file

@ -4280,7 +4280,7 @@ fi
toolset=''; toolset='';
t_cpu=''; t_cpu='';
GCCOPTS=''; GCCOPTS='';
extradefines="$extradefines -DDEBUG" extradefines="$extradefines -DDEBUG -DWARBLE"
output='warble.'${modelname}; output='warble.'${modelname};
echo "Warble build selected" echo "Warble build selected"
;; ;;