From f55c41f1e240e4182386be7535b49ecadde23548 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 27 May 2007 12:33:14 +0000 Subject: [PATCH] Add System.Timeout to base.cabal Filtered out for non-GHC by Setup.hs. --- Setup.hs | 2 +- base.cabal | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Setup.hs b/Setup.hs index 927f409..6f10989 100644 --- a/Setup.hs +++ b/Setup.hs @@ -120,7 +120,7 @@ isPortableBuild :: String -> Bool isPortableBuild s | "GHC" `isPrefixOf` s = False | "Data.Generics" `isPrefixOf` s = False - | otherwise = s `notElem` ["Foreign.Concurrent"] + | otherwise = s `notElem` ["Foreign.Concurrent", "System.Timeout"] forGHCBuild :: String -> Bool forGHCBuild = ("GHC.Prim" /=) diff --git a/base.cabal b/base.cabal index 38973f2..8f2a29c 100644 --- a/base.cabal +++ b/base.cabal @@ -149,6 +149,7 @@ exposed-modules: System.Posix.Internals, System.Posix.Signals, System.Posix.Types, + System.Timeout, Text.ParserCombinators.ReadP, Text.ParserCombinators.ReadPrec, Text.Printf, -- 1.7.10.4