diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-25 01:12:47 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-25 01:31:50 +0000 |
commit | 498467cf44e871a6abdb1e16714f6e91c7b10a80 (patch) | |
tree | 22eeb486ec5b5b17e422069d1f3207ea6ef9abbc /rts/RtsUtils.c | |
parent | 3a907bff7fc7f6fd0c4f1f61b6e16aaed450874d (diff) | |
download | haskell-498467cf44e871a6abdb1e16714f6e91c7b10a80.tar.gz |
Fixes for NetBSD
Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in
trac #5480.
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r-- | rts/RtsUtils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |