mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +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( ));
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue