From af1bc23a677ce8924d65faacf222201d31dab910 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 22 Mar 2015 17:18:39 +0100 Subject: Fix compilation with disabled UHD --- src/DabMod.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/DabMod.cpp b/src/DabMod.cpp index 6cf1b96..83802ab 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -866,10 +866,12 @@ run_modulator_state run_modulator(Logger& logger, modulator_data& m) running = 0; ret = MOD_NORMAL_END; } +#if defined(HAVE_OUTPUT_UHD) } catch (fct_discontinuity_error& e) { // The OutputUHD saw a FCT discontinuity logger.level(warn) << e.what(); ret = MOD_AGAIN; +#endif } catch (zmq_input_overflow& e) { // The ZeroMQ input has overflowed its buffer logger.level(warn) << e.what(); -- cgit v1.2.3