diff options
author | 2011-11-25 01:17:02 +0000 | |
---|---|---|
committer | 2011-11-25 01:17:02 +0000 | |
commit | c849742c76d77a8910aff0f48db684b31bbd5382 (patch) | |
tree | c0b056794c449f22cb8c88989f9a1005647e1d58 /System/Posix/Signals.hsc | |
parent | c8fada0d863085b8ac10f4d1f578e6428215ac28 (diff) |
Fixes for NetBSD
Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in
trac #5480.
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r-- | System/Posix/Signals.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc index a284d48..e56a425 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -299,7 +299,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) || defined(dragonfly_HOST_OS)) +#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)) || defined(netbsd_HOST_OS) foreign import ccall unsafe "genericRaise" c_raise :: CInt -> IO CInt #else |