[commit: unix] master: Fixes for NetBSD (c849742)
Ian Lynagh
igloo at earth.li
Fri Nov 25 03:14:12 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/c849742c76d77a8910aff0f48db684b31bbd5382
>---------------------------------------------------------------
commit c849742c76d77a8910aff0f48db684b31bbd5382
Author: Ian Lynagh <igloo at earth.li>
Date: Fri Nov 25 01:17:02 2011 +0000
Fixes for NetBSD
Based on a patch from Arnaud Degroote <degroote at NetBSD.org> in
trac #5480.
>---------------------------------------------------------------
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
More information about the Cvs-libraries
mailing list