mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
31 lines
705 B
Diff
31 lines
705 B
Diff
From 2697fcc42546e814a2d2617671cb8398b15256fb Mon Sep 17 00:00:00 2001
|
|
From: Will Dietz <w@wdtz.org>
|
|
Date: Fri, 17 Aug 2018 00:22:35 -0500
|
|
Subject: [PATCH] quick port __SIGRTMIN/__SIGRTMAX patch for qemu 3.0
|
|
|
|
---
|
|
linux-user/signal.c | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/linux-user/signal.c b/linux-user/signal.c
|
|
index 602b631b92..87f9240134 100644
|
|
--- a/linux-user/signal.c
|
|
+++ b/linux-user/signal.c
|
|
@@ -26,6 +26,13 @@
|
|
#include "trace.h"
|
|
#include "signal-common.h"
|
|
|
|
+#ifndef __SIGRTMIN
|
|
+#define __SIGRTMIN 32
|
|
+#endif
|
|
+#ifndef __SIGRTMAX
|
|
+#define __SIGRTMAX (NSIG-1)
|
|
+#endif
|
|
+
|
|
struct target_sigaltstack target_sigaltstack_used = {
|
|
.ss_sp = 0,
|
|
.ss_size = 0,
|
|
--
|
|
2.18.0
|
|
|