diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-22 01:27:09 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-22 01:27:15 +0100 |
commit | 13f2ea125bf1a8eab649fec7a657b3ec98b61e63 (patch) | |
tree | c26d9623c08506f70e7c321761fa857cf3623f87 /src/EtiReader.h | |
parent | a44ccd8d6419ae1abed753a48125cc57d9d9bb6d (diff) | |
download | dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.gz dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.tar.bz2 dabmod-13f2ea125bf1a8eab649fec7a657b3ec98b61e63.zip |
Make EDI input optional
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r-- | src/EtiReader.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/EtiReader.h b/src/EtiReader.h index 8270592..eb97e3b 100644 --- a/src/EtiReader.h +++ b/src/EtiReader.h @@ -2,7 +2,7 @@ Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2017 + Copyright (C) 2018 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -37,7 +37,9 @@ #include "SubchannelSource.h" #include "TimestampDecoder.h" #include "lib/edi/ETIDecoder.hpp" -#include "lib/UdpSocket.h" +#ifdef HAVE_EDI +# include "lib/UdpSocket.h" +#endif #include "ThreadsafeQueue.h" #include <vector> @@ -108,6 +110,7 @@ private: std::vector<std::shared_ptr<SubchannelSource> > mySources; }; +#ifdef HAVE_EDI /* The EdiReader extracts the necessary data using the EDI input library in * lib/edi */ @@ -203,4 +206,5 @@ class EdiUdpInput { UdpReceiver m_udp_rx; EdiDecoder::ETIDecoder& m_decoder; }; +#endif |