mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Fixes for new telnet client
svn path=/trunk/; revision=2463
This commit is contained in:
parent
a155c42316
commit
5d7f30939a
2 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in a new issue