Fixes for new telnet client

svn path=/trunk/; revision=2463
This commit is contained in:
Steven Edwards 2001-12-31 17:14:08 +00:00
parent a155c42316
commit 5d7f30939a
2 changed files with 13 additions and 13 deletions

View file

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

View file

@ -7,15 +7,15 @@
#include <windows.h>
// Mingw32 doesn't use winsock.h (Paul Brannan 9/4/98)
//#ifdef __MINGW32__
//#ifdef __CYGWIN__
#ifdef __MINGW32__
#ifdef __CYGWIN__
#include <winsock.h>
//#else
//#include <Windows32/sockets.h>
//#endif
//#else
//#include <winsock.h>
//#endif
#else
#include <Windows32/sockets.h>
#endif
#else
#include <winsock.h>
#endif
enum NetworkType {TN_NETSOCKET, TN_NETPIPE};