about summary refs log tree commit diff stats
path: root/WWW
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2004-02-02 23:50:20 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2004-02-02 23:50:20 -0500
commitb9e930ec26cc241a14705966d21ae0bf3559d8ef (patch)
tree8d82d526292d8a8a3176c3a9fbfc4fc66fd21293 /WWW
parent7352a91bc1925296bc103f972c9988178cbbbc43 (diff)
downloadlynx-snapshots-b9e930ec26cc241a14705966d21ae0bf3559d8ef.tar.gz
snapshot of project "lynx", label v2-8-5pre_5
Diffstat (limited to 'WWW')
-rw-r--r--WWW/Library/Implementation/HTParse.c4
-rw-r--r--WWW/Library/Implementation/HTUtils.h2
-rw-r--r--WWW/Library/Implementation/www_tcp.h5
3 files changed, 6 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTParse.c b/WWW/Library/Implementation/HTParse.c
index 56cc0c0a..d3eaf3a8 100644
--- a/WWW/Library/Implementation/HTParse.c
+++ b/WWW/Library/Implementation/HTParse.c
@@ -12,6 +12,10 @@
 
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
+#else
+#ifdef __MINGW32__
+#include <malloc.h>
+#endif /* __MINGW32__ */
 #endif
 
 #define HEX_ESCAPE '%'
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index 49c8d6f6..f1acb6b7 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -206,7 +206,7 @@ typedef unsigned short mode_t;
 #endif
 
 #if defined(UNIX)
-#  if (defined(__BEOS__) || defined(__CYGWIN__) || defined(__DJGPP__) || defined(__EMX__))
+#  if (defined(__BEOS__) || defined(__CYGWIN__) || defined(__DJGPP__) || defined(__EMX__) || defined(__MINGW32__))
 #    define SINGLE_USER_UNIX	/* well, at least they try */
 #  else
 #    define MULTI_USER_UNIX
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index 4cd4b76b..513b9402 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -110,10 +110,7 @@ Default values
 #define AIX
 #endif /* _AIX */
 
-#ifdef __CYGWIN__
-#define _WINDOWS_NSL
-#define WIN_EX
-#else
+#ifndef __CYGWIN__
 #ifdef WIN_EX
 #define HAVE_FTIME 1
 #define HAVE_SYS_TIMEB_H 1