blob: b9036730be22a6b008278b7a40d4473dcb62275c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-am,v 1.1 1998/10/28 18:18:08 bad Exp $
--- mit-pthreads/machdep/engine-alpha-netbsd-1.3.h.orig Mon Mar 9 11:30:59 1998
+++ mit-pthreads/machdep/engine-alpha-netbsd-1.3.h Thu Oct 22 18:24:17 1998
@@ -10,6 +10,7 @@
#include <setjmp.h>
#include <sys/time.h>
#include <sys/cdefs.h>
+#include <sys/signal.h> /* for _NSIG */
/* The first machine dependent functions are the SEMAPHORES needing
the test and set instruction.
@@ -46,7 +47,7 @@
* sigset_t macros
*/
#define SIG_ANY(sig) (sig)
-#define SIGMAX 31
+#define SIGMAX (_NSIG-1)
/*
* New Strutures
|