From 7616d89b971fce3df68a62358559586073deb239 Mon Sep 17 00:00:00 2001 From: Ivan Galvez Junquera Date: Tue, 31 May 2016 17:07:08 +0200 Subject: [PATCH] Added required guard to enable builds without TCP support. --- dds/src/trans/ip/rtps_ip.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dds/src/trans/ip/rtps_ip.c b/dds/src/trans/ip/rtps_ip.c index 7eb43d92..3a72afa8 100644 --- a/dds/src/trans/ip/rtps_ip.c +++ b/dds/src/trans/ip/rtps_ip.c @@ -364,7 +364,10 @@ static int rtps_tcp_suspended; void rtps_ip_reset (void) { - rtps_udp_suspended = rtps_tcp_suspended = 0; + rtps_udp_suspended = 0; +#ifdef DDS_TCP + rtps_tcp_suspended = 0; +#endif } static void rtps_udp_mode_change (Config_t c)