about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/www_tcp.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2011-05-27 00:46:17 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2011-05-27 00:46:17 -0400
commit6aab9ce5aeba97b6afee05e377027c3c1544583d (patch)
treecb93a1f5c0191da0b64b553990fe5ae2c5c9fb95 /WWW/Library/Implementation/www_tcp.h
parent35794979cb285352b58cdf1879ca9cc246168729 (diff)
downloadlynx-snapshots-6aab9ce5aeba97b6afee05e377027c3c1544583d.tar.gz
snapshot of project "lynx", label v2-8-8dev_8g
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h10
1 files changed, 5 insertions, 5 deletions
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 <types.h> 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