From 6aab9ce5aeba97b6afee05e377027c3c1544583d Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 27 May 2011 00:46:17 -0400 Subject: snapshot of project "lynx", label v2-8-8dev_8g --- WWW/Library/Implementation/www_tcp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (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 77d4841d..63178adf 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -1,5 +1,5 @@ /* System dependencies in the W3 library - * $LynxId: www_tcp.h,v 1.52 2011/05/24 10:51:58 tom Exp $ + * $LynxId: www_tcp.h,v 1.53 2011/05/24 23:48:50 tom Exp $ * SYSTEM DEPENDENCIES @@ -449,11 +449,11 @@ extern char *vms_errno_string(); /* * DEC C before version 5.2 added some typedefs to which happen * to be suppressed if the version-4 compatibility define is set. In - * particular, lynx uses "off_t". According to Rod Reiger, "size_t" may - * also be undeclared. + * particular, lynx uses "off_t". VAX-C used "unsigned", DEC-C uses "int". */ -#ifdef _DECC_V4_SOURCE -#define off_t long +#if defined(_DECC_V4_SOURCE) && !defined(____OFF_T) +#undef off_t +#define off_t int #endif #ifdef __TIME_T -- cgit 1.4.1-2-gfad0