aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
diff options
context:
space:
mode:
authorGravatar Simon Marlow <marlowsd@gmail.com>2009-12-21 11:07:09 +0000
committerGravatar Simon Marlow <marlowsd@gmail.com>2009-12-21 11:07:09 +0000
commited8e5338bfc64076887559f4118befccc8590b09 (patch)
tree5dfc35e9dff35f4f194bb2a1d9a228a2a8dd42b8 /System
parent271a35ed571bd13ccd55ff2318f5be02a67a4cd6 (diff)
Support for DragonFly
Not sure where this patch came from, I found it in my validate tree.
Diffstat (limited to 'System')
-rw-r--r--System/Posix/Signals.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index 5eb4e5e..454b0dd 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -295,7 +295,7 @@ foreign import ccall unsafe "killpg"
raiseSignal :: Signal -> IO ()
raiseSignal sig = throwErrnoIfMinus1_ "raiseSignal" (c_raise sig)
-#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS))
+#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS))
foreign import ccall unsafe "genericRaise"
c_raise :: CInt -> IO CInt
#else