acadia-newlib/newlib/libc/signal
Christoph Muellner 15c53a34bc libc: Fix compilation for new sig2str/str2sig implementation
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: 2b50ec0cd2 ("libc: Fix compilation for new sig2str/str2sig implementation")

Signed-off-by: Christoph Muellner <cmuellner@gcc.gnu.org>
2021-08-02 16:42:03 +02:00
..
Makefile.am libc: Added implementation for sig2str/str2sig. 2021-08-02 11:28:15 +02:00
Makefile.in libc: Added implementation for sig2str/str2sig. 2021-08-02 11:28:15 +02:00
psignal.c Fix newlib functions perror()/psignal() not to use writev(). 2018-07-05 15:33:49 -04:00
raise.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sig2str.c libc: Fix compilation for new sig2str/str2sig implementation 2021-08-02 16:42:03 +02:00
signal.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
signal.tex libc: Added implementation for sig2str/str2sig. 2021-08-02 11:28:15 +02:00