* [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl
@ 2019-02-19 22:10 Rafael David Tinoco
2019-02-20 9:36 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Rafael David Tinoco @ 2019-02-19 22:10 UTC (permalink / raw)
To: ltp
Although unsupported, musl enablement is always good to pursue.
Defining __SIGRTMIN and __SIGRTMAX is needed for musl enablement.
Signed-off-by: Daniel Diaz <daniel.diaz@linaro.org>
Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
---
include/old/test.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/old/test.h b/include/old/test.h
index 0738237e9..01b0bd4de 100644
--- a/include/old/test.h
+++ b/include/old/test.h
@@ -50,6 +50,13 @@
#define NUMSIGS NSIG
#endif
+#ifndef __SIGRTMIN
+#define __SIGRTMIN 32
+#endif
+
+#ifndef __SIGRTMAX
+#define __SIGRTMAX (_NSIG - 1)
+#endif
/* defines for unexpected signal setup routine (set_usig.c) */
#define FORK 1 /* SIGCHLD is to be ignored */
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl
2019-02-19 22:10 [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl Rafael David Tinoco
@ 2019-02-20 9:36 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2019-02-20 9:36 UTC (permalink / raw)
To: ltp
Hi Rafael,
> Although unsupported, musl enablement is always good to pursue.
> Defining __SIGRTMIN and __SIGRTMAX is needed for musl enablement.
> Signed-off-by: Daniel Diaz <daniel.diaz@linaro.org>
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
> ---
> include/old/test.h | 7 +++++++
Good catch, thanks :). But could you please create include/lapi/signal.h and add
it there? (+ load <signal.h> before). And then include it in all 4 missing
places? In this case it can be used also in the future.
Kind regards,
Petr
> 1 file changed, 7 insertions(+)
> diff --git a/include/old/test.h b/include/old/test.h
> index 0738237e9..01b0bd4de 100644
> --- a/include/old/test.h
> +++ b/include/old/test.h
> @@ -50,6 +50,13 @@
> #define NUMSIGS NSIG
> #endif
> +#ifndef __SIGRTMIN
> +#define __SIGRTMIN 32
> +#endif
> +
> +#ifndef __SIGRTMAX
> +#define __SIGRTMAX (_NSIG - 1)
> +#endif
> /* defines for unexpected signal setup routine (set_usig.c) */
> #define FORK 1 /* SIGCHLD is to be ignored */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-20 9:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-19 22:10 [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl Rafael David Tinoco
2019-02-20 9:36 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox