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>2018-12-27 10:33:52 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-12-27 10:33:52 +0000
commit466c1be273ce2f7354532f876250cbc3d9d6cefd (patch)
tree96125dbdd41c4501c72a67daacb90e995b73b72c /WWW/Library/Implementation/www_tcp.h
parentfd8ff03480d588c28b9424f2976beadbe7a55a35 (diff)
downloadlynx-snapshots-466c1be273ce2f7354532f876250cbc3d9d6cefd.tar.gz
snapshot of project "lynx", label v2-9-0dev_0b
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index 8a081a5a..ef754c82 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.59 2018/05/16 20:31:43 tom Exp $
+ * $LynxId: www_tcp.h,v 1.61 2018/12/26 12:30:14 tom Exp $
  *
                                    SYSTEM DEPENDENCIES
 
@@ -313,7 +313,14 @@ extern int ws_netread(int fd, char *buf, int len);
 
 #define INCLUDES_DONE
 #define TCP_INCLUDES_DONE
-#endif /* WINDOWS */
+
+#define LYNX_FD	SOCKET		/* WINSOCK uses an unsigned value for FD_SET, etc */
+
+#else
+
+#define LYNX_FD	int		/* POSIX says FD_SET descriptor is int */
+
+#endif				/* WINDOWS */
 
 /*
 
@@ -343,7 +350,7 @@ VAX/VMS
 #ifdef UCX
 #undef IOCTL
 #define IOCTL(s,cmd,arg)	HTioctl(s,cmd,arg)
-#endif /* UCX */
+#endif				/* UCX */
 
 #ifdef WIN_TCP
 #undef SOCKET_READ
@@ -355,7 +362,7 @@ VAX/VMS
 #undef IOCTL
 #define IOCTL(a,b,c) -1		/* disables ioctl function            */
 #define NO_IOCTL		/* flag to check if ioctl is disabled */
-#endif /* WIN_TCP */
+#endif				/* WIN_TCP */
 
 #ifdef CMU_TCP
 #undef SOCKET_READ
@@ -366,7 +373,7 @@ VAX/VMS
 #define NETREAD(s,b,l)     (cmu_get_sdc((s)) != 0 ? HTDoRead((s),(b),(l)) : read((s),(b),(l)))
 #define NETWRITE(s,b,l)    (cmu_get_sdc((s)) != 0 ? cmu_write((s),(b),(l)) : write((s),(b),(l)))
 #define NETCLOSE(s)        (cmu_get_sdc((s)) != 0 ? cmu_close((s)) : close((s)))
-#endif /* CMU_TCP */
+#endif				/* CMU_TCP */
 
 #ifdef MULTINET
 #undef NETCLOSE