From a8251776b87f78e47d3e73309177e3a4f59675bd Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 31 Aug 2006 23:47:16 -0400 Subject: snapshot of project "lynx", label v2-8-6dev_19 --- WWW/Library/Implementation/www_tcp.h | 18 +++++++++++++++++- 1 file changed, 17 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 7883ae03..6189ab1e 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -168,10 +168,22 @@ error Host character set is not ASCII. /* convert a char to an unsigned, needed if we have signed characters for ctype.h */ #define UCH(ch) ((unsigned char)(ch)) +/* + * These parameters were provided by Nigel Horne, using BeOS professional 5.0 + */ +#ifdef __BEOS__ +#undef NETREAD +#undef NETWRITE +#undef NETCLOSE +#define NETREAD(s,b,l) recv((s),(b),(l),0) +#define NETWRITE(s,b,l) send((s),(b),(l),0) +#define NETCLOSE(s) closesocket(s) +#endif + /* IBM-PC running Windows NT - These parameters providede by Susan C. Weber . + These parameters provided by Susan C. Weber . */ #ifdef _WINDOWS @@ -705,7 +717,11 @@ typedef unsigned short mode_t; #define DECL_SYS_ERRLIST 1 #endif +#if defined(VMS) +#define socklen_t unsigned +#else #define socklen_t int /* used for default LY_SOCKLEN definition */ +#endif #endif /* !HAVE_CONFIG_H */ -- cgit 1.4.1-2-gfad0 ingrix/lynx-snapshots/commit/src/LYDownload.h?id=67b10f416009d4334c0a494a46235d284675fa2d'>commit diff stats
blob: 5926df8bebcb2a37a0ae93d9bcfbc71553b58e1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21