about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2004-02-04 12:07:09 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2004-02-04 12:07:09 -0500
commitc8a4110f7fc51d0c90eff9cbfd351f2c0757154d (patch)
tree9141689b25e72693e1f625a88615313fc7490dbc /WWW/Library
parentb9e930ec26cc241a14705966d21ae0bf3559d8ef (diff)
downloadlynx-snapshots-c8a4110f7fc51d0c90eff9cbfd351f2c0757154d.tar.gz
snapshot of project "lynx", label v2-8-5rel_1
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTUtils.h4
-rw-r--r--WWW/Library/Implementation/www_tcp.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index f1acb6b7..bf2f3bc3 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -168,6 +168,10 @@ char *alloca ();
 #define BOOLEAN_DEFINED
 #undef HAVE_POPEN		/* FIXME: does this not work, or is it missing */
 #undef small			/* see <w32api/rpcndr.h> */
+#endif
+
+/* cygwin, mingw32, etc. */
+#ifdef FILE_DOES_NOT_EXIST
 #undef FILE_DOES_NOT_EXIST	/* see <w32api/winnt.h> */
 #endif
 
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index 513b9402..56f00cf7 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -169,7 +169,11 @@ IBM-PC running Windows NT
 */
 
 #ifdef _WINDOWS
+
+#ifndef _WINDOWS_NSL
 #define _WINDOWS_NSL
+#endif
+
 #include <fcntl.h>                      /* For HTFile.c */
 #include <sys\types.h>                  /* For HTFile.c */
 #include <sys\stat.h>                   /* For HTFile.c */