From: Mike Brady Date: Wed, 24 Jun 2020 08:48:46 +0000 (+0100) Subject: Add the string "-alac" to the version string in '-V' if the Apple ALAC decoder is... X-Git-Tag: 3.3.7d12~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcddc6722e818eab3b6b437e85d69feca867f8bc;p=thirdparty%2Fshairport-sync.git Add the string "-alac" to the version string in '-V' if the Apple ALAC decoder is included. --- diff --git a/common.c b/common.c index f8fe03b7..39c4d62e 100644 --- a/common.c +++ b/common.c @@ -1427,6 +1427,9 @@ char *get_version_string() { if (version_string) { strcpy(version_string, PACKAGE_VERSION); +#ifdef CONFIG_APPLE_ALAC + strcat(version_string, "-alac"); +#endif #ifdef CONFIG_LIBDAEMON strcat(version_string, "-libdaemon"); #endif