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>1999-12-01 03:38:43 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1999-12-01 03:38:43 -0500
commit4525eb4b32fdf2124e246285af59a1e14ecbf551 (patch)
treeb4fa005bd9b3ff3f0973cb1ea9e5ac4243ec2a39 /WWW/Library/Implementation/www_tcp.h
parent45f1aadc261561566cd074da1d9b0fb21a6ad78c (diff)
downloadlynx-snapshots-4525eb4b32fdf2124e246285af59a1e14ecbf551.tar.gz
snapshot of project "lynx", label v2-8-3dev_16
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index cf6557ff..4048d7cf 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -56,7 +56,9 @@ Default values
 #define INVSOC (-1)             /* Unix invalid socket */
 		/* NB: newer libwww has something different for Windows */
 
+#if !defined(__MINGW32__)
 typedef struct sockaddr_in SockA;  /* See netinet/in.h */
+#endif
 
 #ifndef VMS
 #include <sys/types.h>
@@ -181,7 +183,7 @@ IBM-PC running Windows NT
 #include <winsock.h>
 typedef struct sockaddr_in SockA;  /* See netinet/in.h */
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__MINGW32__)
 #undef EINTR
 #undef EAGAIN
 #endif /* _MSC_VER */
@@ -639,13 +641,9 @@ typedef int pid_t;
 
 #else
 
-#ifndef VM
-#ifndef VMS
-#ifndef THINK_C
+#if !(defined(VM) || defined(VMS) || defined(THINK_C) || defined(__MINGW32__))
 #define DECL_SYS_ERRLIST 1
-#endif /* !THINK_C */
-#endif /* !VMS */
-#endif /* !VM */
+#endif
 
 #endif /* !HAVE_CONFIG_H */