This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: strsignal


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]