about summary refs log tree commit diff stats
path: root/WWW
diff options
context:
space:
mode:
Diffstat (limited to 'WWW')
-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 */