Fixes for real this time for new telnet client
authorSteven Edwards <winehacker@gmail.com>
Mon, 31 Dec 2001 17:37:11 +0000 (17:37 +0000)
committerSteven Edwards <winehacker@gmail.com>
Mon, 31 Dec 2001 17:37:11 +0000 (17:37 +0000)
svn path=/trunk/; revision=2464

rosapps/net/telnet/src/stl_bids.h
rosapps/net/telnet/src/tnetwork.h

index 6e34711..09f3f8a 100644 (file)
@@ -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
        }
index 527945f..1a42939 100644 (file)
 #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);