From bbf23c4d8acb28eba6da018271330d674b8e8dd4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 30 Oct 2016 12:56:02 +0100 Subject: Make compilation possible with all formats disabled --- src/ConfigParser.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ConfigParser.cpp') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 3bcf9fc..7e3f855 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -728,8 +728,10 @@ static void setup_subchannel_from_ptree(DabSubchannel* subchan, } else if (proto == "file") { operations = dabInputRawFileOperations; #endif +#if defined(HAVE_INPUT_FIFO) } else if (proto == "fifo") { operations = dabInputRawFifoOperations; +#endif } else { stringstream ss; ss << "Subchannel with uid " << subchanuid << @@ -855,8 +857,8 @@ static void setup_subchannel_from_ptree(DabSubchannel* subchan, " non-blocking I/O only available for audio or packet services!"; throw runtime_error(ss.str()); } -#endif // defined(HAVE_INPUT_FIFO) && defined(HAVE_INPUT_FILE) } +#endif // defined(HAVE_INPUT_FIFO) && defined(HAVE_INPUT_FILE) /* Get id */ -- cgit v1.2.3