strsignal prototype disabled on all but Cygwin

Corinna Vinschen
Mon Jan 10 11:00:00 GMT 2011

On Jan  8 04:54, Ralf Corsepius wrote:
> On 01/07/2011 09:32 PM, Joel Sherrill wrote:
> >Hi,
> >
> >The strsignal() prototype is not defined unless you
> >are on Cygwin. Since this is provided by newlib,
> >I think the ifdef is wrong. The attached ifdef enables
> >it for RTEMS.
> >
> >But I suspect it should be enabled for more.
> According to OpenGroup strsignal is a CX extension (POSIX extension
> to ISO C).
> I am inclined to think it should be provided unconditionally.

I agree.  I tweaked Joel's  patch accordingly and checked it in.


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the Newlib mailing list