From c68ecb8b21bef3908cb17f8d1d4af694bf7e7137 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 27 Mar 2000 03:37:59 -0500 Subject: snapshot of project "lynx", label v2-8-3dev_23 --- WWW/Library/Implementation/www_tcp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'WWW/Library/Implementation/www_tcp.h') diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h index 85ac581e..81db0187 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -112,6 +112,11 @@ typedef struct sockaddr_in SockA; /* See netinet/in.h */ #define AIX #endif /* _AIX */ +#ifdef __CYGWIN__ +#define _WINDOWS_NSL +#define WIN_EX +#endif /* __CYGWIN__ */ + #ifdef HAVE_FCNTL_H #include #else @@ -522,6 +527,7 @@ extern int errno; #ifdef word #undef word #endif /* word */ +#define select select_s #endif /* WATT32 */ #undef NETWRITE @@ -779,7 +785,7 @@ typedef unsigned int fd_set; /* * Macro for setting errno - only define this if you really can do it. */ -#if !defined(errno) && (!defined(VMS) || defined(UCX)) +#if defined(CAN_SET_ERRNO) || (!defined(errno) && (!defined(VMS) || defined(UCX))) #define set_errno(value) errno = value #else #define set_errno(value) /* we do not know how */ -- cgit 1.4.1-2-gfad0