mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
Fixes for real this time for new telnet client
svn path=/trunk/; revision=2464
This commit is contained in:
parent
5d7f30939a
commit
0dd9d2664c
2 changed files with 10 additions and 3 deletions
|
@ -132,8 +132,10 @@ public:
|
|||
destroy(begin( ), end( ));
|
||||
#ifdef __CYGWIN__
|
||||
_M_finish = _M_start;
|
||||
#else
|
||||
finish = start;
|
||||
#endif
|
||||
// finish = start; /* Removed for ReactOS */
|
||||
#ifdef __REACTOS__
|
||||
_M_finish = _M_start;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -11,12 +11,17 @@
|
|||
#ifdef __CYGWIN__
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <Windows32/sockets.h>
|
||||
// #include <Windows32/sockets.h> Removed for ReactOS
|
||||
#endif
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
||||
// ReactOS uses winsock2.h (Steven Edwards 12-31-01)
|
||||
#ifdef __REACTOS__
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
enum NetworkType {TN_NETSOCKET, TN_NETPIPE};
|
||||
|
||||
typedef int(*Naws_func_t)(char *, int, int);
|
||||
|
|
Loading…
Reference in a new issue