aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/musl-signals.patch
blob: e04ed0a17660a655d70afd9ab3e524d30e1e4b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/gdbsupport/signals.cc	2020-02-08 12:50:14.000000000 +0000
+++ b/gdbsupport/signals.cc	2020-02-11 13:08:56.482694697 +0000
@@ -31,6 +31,13 @@
    _available_ realtime signal, not the lowest supported; glibc takes
    several for its own use.  */

+#ifndef __SIGRTMIN
+# define __SIGRTMIN 32
+#endif
+#ifndef __SIGRTMAX
+# define __SIGRTMAX _NSIG
+#endif
+
 #ifndef REALTIME_LO
 # if defined(__SIGRTMIN)
 #  define REALTIME_LO __SIGRTMIN