diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-22 17:18:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-22 17:18:39 +0100 |
commit | af1bc23a677ce8924d65faacf222201d31dab910 (patch) | |
tree | 078497858c4dec2940d7e731375b7aec5a7b5090 | |
parent | 1e2a6c6e367849335fd82efb4afc827fd4fe82a6 (diff) | |
download | dabmod-af1bc23a677ce8924d65faacf222201d31dab910.tar.gz dabmod-af1bc23a677ce8924d65faacf222201d31dab910.tar.bz2 dabmod-af1bc23a677ce8924d65faacf222201d31dab910.zip |
Fix compilation with disabled UHD
-rw-r--r-- | src/DabMod.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |