summaryrefslogtreecommitdiff
path: root/rts/RtsUtils.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-11-11 11:18:21 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-11-11 11:18:21 +0000
commita35d65c3465de9661325a9295715b1ef298eb888 (patch)
treecc6d3b51d37e3eef79f7c8137d9e9c4abd4fa5a1 /rts/RtsUtils.c
parent4842f1a5da2f5a297d870e5b8f8299de4093a7a2 (diff)
downloadhaskell-a35d65c3465de9661325a9295715b1ef298eb888.tar.gz
Support for DragonFly BSD
Patches from Goetz Isenmann <info@goetz-isenmann.de>, slightly updated for HEAD (the method for configuring platforms in configure.ac has changed).
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r--rts/RtsUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c
index 1953e1e838..51c1250682 100644
--- a/rts/RtsUtils.c
+++ b/rts/RtsUtils.c
@@ -369,7 +369,7 @@ heapCheckFail( void )
* genericRaise(), rather than raise(3).
*/
int genericRaise(int sig) {
-#if defined(THREADED_RTS) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS))
+#if defined(THREADED_RTS) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS))
return pthread_kill(pthread_self(), sig);
#else
return raise(sig);