On Mon, Jun 02, 2003 at 08:10:29PM +0200, Gisle Vanem wrote:
> A small patch to make it compile with MingW + PDcurses.
> 
> --- orig/src/LYutils.c Mon Jun  2 01:16:28 2003
> +++ src/LYUtils.c   Mon Jun  2 20:04:08 2003
> @@ -1536,7 +1536,7 @@
>      int c;
>      int cmd;
>  #ifndef VMS /* UNIX stuff: */
> -#if !defined(USE_SLANG) && (defined(UNIX) || defined(__DJGPP__))
> +#if !defined(USE_SLANG)
>      struct timeval socket_timeout;
>      int ret = 0;
>      fd_set readfds;
> 
> Since MingW doesn't define UNIX.

thanks.  I didn't try with PDCurses, since I recall there was some problem
linking that configuration.  I did build the slang+mingw, but arrow keys
did not work (for me).  Do they work for you in this snapshot?

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to