MAGIC Magic Mailing List
 
 

From: Mika Nystroem (mika AT cs DOT caltech.edu)
Date: Sat Oct 14 2000 - 18:05:19 EDT


#ifdef __STDC__ ?

Rajit Manohar writes:
>
>>> the following files reference sys_errlist[errno], this variable is not
>>> necessarily defined in all systems (e.g. Solaris).  I think you can use
>>> strerror(errno) instead, it's part of ANSI C.
>
>I believe the reason for this was that the compiler that used to come
>with SunOS 4.x did not support ANSI C. :) (If you look at all the C
>code, it uses K&R C to avoid that problem.) I will add #ifdef's to fix 
>this problem. Thanks.
>
>>> This is a patch that fixes the :ld script.
>
>Thanks. :ld has been updated.
>
>Regards,
>
>-Rajit


 
 
Questions? Contact Rajit Manohar
cornell logo