This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: strsignal
- To: Roland McGrath <roland@frob.com>
- Subject: Re: strsignal
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: 25 Sep 1998 10:27:27 +0200
- Cc: libc-hacker@cygnus.com
- References: <199809241550.LAA01270@baalperazim.frob.com>
Roland McGrath <roland@frob.com> writes:
|> > Solaris has it (if __EXTENSIONS__ is defind), so it isn't GNU-only any
|> > more. I think the feature guard in <string.h> should be updated.
|>
|> Why?
Because if you want to use strsignal with GNU libc you must define
_GNU_SOURCE, whereas on Solaris it is declared by default. This is
especially of concern if you want to use GNU libc on Solaris.
Andreas.