summaryrefslogtreecommitdiff
path: root/klibc/include/signal.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-04 04:26:44 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:39:48 -0700
commite5f053b5312a0f8d62a2bcff8ddb095052d228bc (patch)
tree54fa17afcdb1c8919710da70f55e267d2a758e8e /klibc/include/signal.h
parent6d7a6d08c2386611e4ccb62ce660ceb53b1bf79f (diff)
[PATCH] klibc: update v0.205
Diffstat (limited to 'klibc/include/signal.h')
-rw-r--r--klibc/include/signal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/klibc/include/signal.h b/klibc/include/signal.h
index 1b439077f2..e78318f5f7 100644
--- a/klibc/include/signal.h
+++ b/klibc/include/signal.h
@@ -27,9 +27,20 @@ typedef int sig_atomic_t;
#ifndef SA_NODEFER
# define SA_NODEFER SA_NOMASK
#endif
+/* Some architectures define NSIG and not _NSIG or vice versa */
#ifndef NSIG
# define NSIG _NSIG
#endif
+#ifndef _NSIG
+# define _NSIG NSIG
+#endif
+
+/* If we don't have any real-time signals available to userspace,
+ hide them all */
+#if SIGRTMAX <= SIGRTMIN
+# undef SIGRTMIN
+# undef SIGRTMAX
+#endif
__extern const char * const sys_siglist[];