Skip to contentSkip to conversation

[6312] Fix bsd-user build

Qemu-devel Blue Swirl 1 participant 1 message Jan 15, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6312

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6312
Author:   blueswir1
Date:     2009-01-15 17:27:45 +0000 (Thu, 15 Jan 2009)

Log Message:
-----------
Fix bsd-user build

Modified Paths:
--------------
trunk/gdbstub.c

Modified: trunk/gdbstub.c
===================================================================

gdbstub.c +6 -0
@@ -87,7 +87,11 @@
     -1, /* SIGLOST */
     TARGET_SIGUSR1,
     TARGET_SIGUSR2,
+#ifdef TARGET_SIGPWR
     TARGET_SIGPWR,
+#else
+    -1,
+#endif
     -1, /* SIGPOLL */
     -1,
     -1,
@@ -100,6 +104,7 @@
     -1,
     -1,
     -1,
+#ifdef __SIGRTMIN
     __SIGRTMIN + 1,
     __SIGRTMIN + 2,
     __SIGRTMIN + 3,
@@ -206,6 +211,7 @@
     -1,
     -1,
     -1
+#endif
 };
 #else
 /* In system mode we only need SIGINT and SIGTRAP; other signals