From 5d7f30939a611370e21c7dbff9e94b980ca46140 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 31 Dec 2001 17:14:08 +0000 Subject: [PATCH] Fixes for new telnet client svn path=/trunk/; revision=2463 --- rosapps/net/telnet/src/stl_bids.h | 10 +++++----- rosapps/net/telnet/src/tnetwork.h | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/rosapps/net/telnet/src/stl_bids.h b/rosapps/net/telnet/src/stl_bids.h index 28d65b3225a..6e3471178b5 100644 --- a/rosapps/net/telnet/src/stl_bids.h +++ b/rosapps/net/telnet/src/stl_bids.h @@ -130,11 +130,11 @@ public: _Last = _First; #else destroy(begin( ), end( )); -//#ifdef __CYGWIN__ -// _M_finish = _M_start; -//#else -// finish = start; -//#endif +#ifdef __CYGWIN__ + _M_finish = _M_start; +#else + finish = start; +#endif #endif } diff --git a/rosapps/net/telnet/src/tnetwork.h b/rosapps/net/telnet/src/tnetwork.h index 66159382b82..527945f75ec 100644 --- a/rosapps/net/telnet/src/tnetwork.h +++ b/rosapps/net/telnet/src/tnetwork.h @@ -7,15 +7,15 @@ #include // Mingw32 doesn't use winsock.h (Paul Brannan 9/4/98) -//#ifdef __MINGW32__ -//#ifdef __CYGWIN__ +#ifdef __MINGW32__ +#ifdef __CYGWIN__ #include -//#else -//#include -//#endif -//#else -//#include -//#endif +#else +#include +#endif +#else +#include +#endif enum NetworkType {TN_NETSOCKET, TN_NETPIPE};