Re: Import slang-1.4.9 patch



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.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]