]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Include -pw in the Version String if PipeWire support is included.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 3 Jul 2022 11:02:34 +0000 (12:02 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 3 Jul 2022 11:02:34 +0000 (12:02 +0100)
common.c

index a21dc9c4fce76d4316a49cdd083ef743e3a45d2f..f8b7ae1a968e327abab39b49a7a5de543eda79bd 100644 (file)
--- a/common.c
+++ b/common.c
@@ -1657,6 +1657,9 @@ char *get_version_string() {
 #ifdef CONFIG_PA
     strcat(version_string, "-pa");
 #endif
+#ifdef CONFIG_PW
+    strcat(version_string, "-pw");
+#endif
 #ifdef CONFIG_SOUNDIO
     strcat(version_string, "-soundio");
 #endif