From 498467cf44e871a6abdb1e16714f6e91c7b10a80 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 25 Nov 2011 01:12:47 +0000 Subject: Fixes for NetBSD Based on a patch from Arnaud Degroote in trac #5480. --- rts/RtsUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rts/RtsUtils.c') diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index 8ef6c0d6f2..e04b9846be 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -272,7 +272,7 @@ heapCheckFail( void ) * genericRaise(), rather than raise(3). */ int genericRaise(int sig) { -#if defined(THREADED_RTS) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)) +#if defined(THREADED_RTS) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS)) return pthread_kill(pthread_self(), sig); #else return raise(sig); -- cgit v1.2.1