Fixes for real this time for new telnet client

svn path=/trunk/; revision=2464
This commit is contained in:
Steven Edwards 2001-12-31 17:37:11 +00:00
parent 5d7f30939a
commit 0dd9d2664c
2 changed files with 10 additions and 3 deletions

View file

@ -132,8 +132,10 @@ public:
destroy(begin( ), end( )); destroy(begin( ), end( ));
#ifdef __CYGWIN__ #ifdef __CYGWIN__
_M_finish = _M_start; _M_finish = _M_start;
#else #endif
finish = start; // finish = start; /* Removed for ReactOS */
#ifdef __REACTOS__
_M_finish = _M_start;
#endif #endif
#endif #endif
} }

View file

@ -11,12 +11,17 @@
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#include <winsock.h> #include <winsock.h>
#else #else
#include <Windows32/sockets.h> // #include <Windows32/sockets.h> Removed for ReactOS
#endif #endif
#else #else
#include <winsock.h> #include <winsock.h>
#endif #endif
// ReactOS uses winsock2.h (Steven Edwards 12-31-01)
#ifdef __REACTOS__
#include <winsock2.h>
#endif
enum NetworkType {TN_NETSOCKET, TN_NETPIPE}; enum NetworkType {TN_NETSOCKET, TN_NETPIPE};
typedef int(*Naws_func_t)(char *, int, int); typedef int(*Naws_func_t)(char *, int, int);