X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FTimeout.hs;h=b1c79b3c161925cd8596fe1caabedd46d96884b9;hb=41e8fba828acbae1751628af50849f5352b27873;hp=f27a936ed29edb9a984c7088bd40c8ccde5c3a3b;hpb=2ebff97f8efea061ec2c51d8dd8fa19dd880243d;p=ghc-base.git diff --git a/System/Timeout.hs b/System/Timeout.hs index f27a936..b1c79b3 100644 --- a/System/Timeout.hs +++ b/System/Timeout.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE CPP #-} + ------------------------------------------------------------------------------- -- | -- Module : System.Timeout @@ -27,7 +29,6 @@ import Control.Concurrent (forkIO, threadDelay, myThreadId, killThread) import Control.Exception (Exception, handleJust, throwTo, bracket) import Data.Typeable import Data.Unique (Unique, newUnique) -import GHC.Num -- An internal type that is thrown as a dynamic exception to -- interrupt the running IO computation when the timeout has