diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-03-27 03:37:59 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-03-27 03:37:59 -0500 |
commit | c68ecb8b21bef3908cb17f8d1d4af694bf7e7137 (patch) | |
tree | b433eeff77822973f7bdb7de3642e7a21ccbe5a8 /WWW/Library/Implementation/www_tcp.h | |
parent | d70fdcf7f031566fd582362899099f9fba23a7ac (diff) | |
download | lynx-snapshots-c68ecb8b21bef3908cb17f8d1d4af694bf7e7137.tar.gz |
snapshot of project "lynx", label v2-8-3dev_23
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r-- | WWW/Library/Implementation/www_tcp.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <fcntl.h> #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 */ |