summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 868cfb7c719..66e6ffa61fc 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -1,5 +1,5 @@
/* syssignal.h - System-dependent definitions for signals.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1999 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -123,6 +123,29 @@ sigset_t sys_sigsetmask P_ ((sigset_t new_mask));
#define sigfree() sigsetmask (SIGEMPTYMASK)
#endif /* not BSD4_1 */
+#if defined (SIGINFO) && defined (BROKEN_SIGINFO)
+#undef SIGINFO
+#endif
+#if defined (SIGIO) && defined (BROKEN_SIGIO)
+#undef SIGIO
+#endif
+#if defined (SIGPOLL) && defined (BROKEN_SIGPOLL)
+#undef SIGPOLL
+#endif
+#if defined (SIGTSTP) && defined (BROKEN_SIGTSTP)
+#undef SIGTSTP
+#endif
+#if defined (SIGURG) && defined (BROKEN_SIGURG)
+#undef SIGURG
+#endif
+
+#if NSIG < NSIG_MINIMUM
+# ifdef NSIG
+# undef NSIG
+# endif
+# define NSIG NSIG_MINIMUM
+#endif
+
#ifdef BSD4_1
#define SIGIO SIGTINT
/* sigfree is in sysdep.c */
@@ -149,3 +172,8 @@ sigset_t sys_sigsetmask P_ ((sigset_t new_mask));
#endif /* SIGCHLD */
#endif /* ! defined (SIGCLD) */
#endif /* VMS */
+
+#ifndef HAVE_STRSIGNAL
+/* strsignal is in sysdep.c */
+char *strsignal ();
+#endif