From 6dd26fa19a21eb45ab53e07c7bd05d3e09fd76d5 Mon Sep 17 00:00:00 2001 From: Tomasz Lemiech Date: Fri, 13 Nov 2020 20:07:06 +0100 Subject: [PATCH] Set SHOUTERR_RETRY to some value if it's not available This macro appeared in libshout 2.4.0. --- output.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/output.cpp b/output.cpp index 1590d8c..64563a0 100644 --- a/output.cpp +++ b/output.cpp @@ -28,6 +28,11 @@ #include #include #include +// SHOUTERR_RETRY is available since libshout 2.4.0. +// Set it to an impossible value if it's not there. +#ifndef SHOUTERR_RETRY +#define SHOUTERR_RETRY (-255) +#endif #include #ifdef PULSE #include