Re: Import slang-1.4.9 patch



Hello, Nerijus

> On Sun, 24 Oct 2004 04:22:53 +0600 pavelsh <pavelsh mail ru> wrote:
> 
> >   Please, check my patch (import libslang-1.4.9 into mcslang).
> 
> With this patch make still fails with the same error on AIX:
> 
> slsmg.c:76: `SLtt_Has_Alt_Charset' undeclared here (not in a function)
> slsmg.c:78: `SLtt_Use_Blink_For_ACS' undeclared here (not in a function)
> make: 1254-004 The error code from the last command is 1.

Does AIX really not define unix, __unix or __unix__?
Does it define __GO32__ ?

Well, if your first answer is Yes and second is NO, patch below can help you.

Test it, please.

-- 
Regards,
Andrew V. Samoilov.
--- mc/slang/include/slang.h~	Tue Oct 12 12:10:07 2004
+++ mc/slang/include/slang.h	Mon Oct 25 15:20:24 2004
@@ -31,7 +31,7 @@
 #endif
 
 #if !defined(__GO32__)
-# ifdef __unix__
+# if defined (__unix__) || defined (_AIX)
 #  define REAL_UNIX_SYSTEM
 # endif
 #endif


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