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};