aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-02 20:18:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-02 20:47:39 +0100
commit5eb2814a6758a58f4f657e7f5b4957f92a2066b7 (patch)
tree29f625b55c9c83fd8aa48e27ba0c981e0e93ffb1 /src
parenta225d3aeac3bff0669b9eac7615364c3dd1650bc (diff)
downloaddabmux-5eb2814a6758a58f4f657e7f5b4957f92a2066b7.tar.gz
dabmux-5eb2814a6758a58f4f657e7f5b4957f92a2066b7.tar.bz2
dabmux-5eb2814a6758a58f4f657e7f5b4957f92a2066b7.zip
Set more sensible default compile options
Diffstat (limited to 'src')
-rw-r--r--src/dabInputBridgeUdp.cpp5
-rw-r--r--src/dabInputSlip.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/dabInputBridgeUdp.cpp b/src/dabInputBridgeUdp.cpp
index 0aba812..95ba487 100644
--- a/src/dabInputBridgeUdp.cpp
+++ b/src/dabInputBridgeUdp.cpp
@@ -23,6 +23,8 @@
#include "dabInputUdp.h"
#include "bridge.h"
+#ifdef HAVE_FORMAT_BRIDGE
+# ifdef HAVE_INPUT_UDP
struct dabInputBridgeUdpData {
dabInputUdpData* udpData;
@@ -122,3 +124,6 @@ int dabInputBridgeUdpClean(void** args)
}
+# endif // HAVE_INPUT_UDP
+#endif // HAVE_FORMAT_BRIDGE
+
diff --git a/src/dabInputSlip.cpp b/src/dabInputSlip.cpp
index cf6e8bc..0063cca 100644
--- a/src/dabInputSlip.cpp
+++ b/src/dabInputSlip.cpp
@@ -29,6 +29,8 @@
#include <string.h>
#include <limits.h>
+#ifdef HAVE_FORMAT_BRIDGE
+# ifdef HAVE_INPUT_SLIP
#ifdef _WIN32
# include <io.h>
@@ -405,4 +407,6 @@ int dabInputSlipClean(void** args)
return 0;
}
+# endif // HAVE_INPUT_SLIP
+#endif // HAVE_FORMAT_BRIDGE