From b9e930ec26cc241a14705966d21ae0bf3559d8ef Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 2 Feb 2004 23:50:20 -0500 Subject: snapshot of project "lynx", label v2-8-5pre_5 --- WWW/Library/Implementation/HTParse.c | 4 ++++ WWW/Library/Implementation/HTUtils.h | 2 +- WWW/Library/Implementation/www_tcp.h | 5 +---- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'WWW/Library') 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 +#else +#ifdef __MINGW32__ +#include +#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 -- cgit 1.4.1-2-gfad0