aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 34640da..dc1966a 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -195,6 +195,15 @@ char *baud_rate;
#define STOP_SIGNAL SIGTSTP
#endif
#endif
+
+/* Some System V have job control but not sigsetmask(). */
+#if !defined (HAVE_SIGSETMASK)
+#define HAVE_SIGSETMASK !defined (USG)
+#endif
+
+#if !HAVE_SIGSETMASK
+#define sigsetmask(n)
+#endif
/* This is how `error' returns to command level. */