[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 15:23:27 UTC 2010
The following commit has been merged in the master branch:
commit 880e15edf36a6f326635af5ba7e48e091ba1eed0
Author: John Goerzen <jgoerzen at complete.org>
Date: Fri May 2 00:09:04 2008 -0500
Yet more tweaking for Windows
diff --git a/src/Network/Utils.hs b/src/Network/Utils.hs
index 54cdd64..3706514 100644
--- a/src/Network/Utils.hs
+++ b/src/Network/Utils.hs
@@ -1,5 +1,5 @@
{- arch-tag: Network utilities main file
-Copyright (C) 2004-2005 John Goerzen <jgoerzen at complete.org>
+Copyright (C) 2004-2008 John Goerzen <jgoerzen at complete.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
{- |
Module : Network.Utils
- Copyright : Copyright (C) 2004-2005 John Goerzen
+ Copyright : Copyright (C) 2004-2008 John Goerzen
License : GNU GPL, version 2 or above
Maintainer : John Goerzen <jgoerzen at complete.org>
@@ -38,7 +38,9 @@ import Network
import Network.Socket
import Network.BSD
import System.IO
+#if !(defined(mingw32_HOST_OS) || defined(mingw32_TARGET_OS) || defined(__MINGW32__))
import qualified System.Posix.Signals
+#endif
{- | Sets up the system for networking. Similar to the built-in
withSocketsDo (and actually, calls it), but also sets the SIGPIPE
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list