Import slang-1.4.9 patch

Pavel Tsekov ptsekov at gmx.net
Tue Oct 26 10:49:04 UTC 2004


Hello,

On Mon, 25 Oct 2004, Nerijus Baliunas wrote:

> It's because SLtt_get_terminfo() and SLtt_tgetstr() are defined in
> sldisply.c only if #ifdef __unix__. So the following patch is better:
>
> --- slang.h.orig   Mon Oct 25 14:34:19 2004
> +++ slang.h     Mon Oct 25 16:46:14 2004
> @@ -24,7 +24,7 @@
>  # endif
>  #endif /* __watcomc__ */
>
> -#if defined(unix) || defined(__unix)
> +#if defined(unix) || defined(__unix) || defined (_AIX)
>  # ifndef __unix__
>  #  define __unix__ 1
>  # endif
>
> But please add some comment so that it isn't removed after
> next slang update in the future.

Maybe you should raise the issue on the S-Lang dedicated mailing list. It
would be much better if this is fixed by the upstream maintainer.




More information about the mc-devel mailing list