Re: [PATCH] libc: Fix compilation for new sig2str/str2sig implementation

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Aug  2 16:00, Christoph Muellner wrote:
> A recent patch introduced new code for sig2str/str2sig.
> This code does not properly exclude code that requires
> SIGRTMIN/SIGRTMAX to be defined and triggers the following
> compile error:
> 
>   newlib/libc/signal/sig2str.c:199:8: error: 'SIGRTMIN' undeclared
>   newlib/libc/signal/sig2str.c:200:29: error: 'SIGRTMAX' undeclared
> 
> Let's add the missing guards.
> 
> Fixes: 2b50ec0cd205 ("libc: Fix compilation for new sig2str/str2sig implementation")
> 
> Signed-off-by: Christoph Muellner <[email protected]>
> ---
>  newlib/libc/signal/sig2str.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Pushed.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.