]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Add the string "-alac" to the version string in '-V' if the Apple ALAC decoder is...
authorMike Brady <mikebradydublin@icloud.com>
Wed, 24 Jun 2020 08:48:46 +0000 (09:48 +0100)
committerMike Brady <mikebradydublin@icloud.com>
Wed, 24 Jun 2020 08:48:46 +0000 (09:48 +0100)
common.c

index f8fe03b77598b9d3e8352c2c5d483cef542f97ed..39c4d62eeaf23358984482a14305840f684bff83 100644 (file)
--- 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