Skip to content

Commit

Permalink
Merge pull request #18 from sol/master
Browse files Browse the repository at this point in the history
GHC 6.10.* compatibility
  • Loading branch information
trystan committed Dec 4, 2012
2 parents 763f3fc + afa5733 commit 38e523a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion silently.cabal
@@ -1,5 +1,5 @@
name: silently
version: 1.2.1
version: 1.2.4.1
cabal-version: >= 1.8
build-type: Simple
license: BSD3
Expand Down
6 changes: 6 additions & 0 deletions src/System/IO/Silently.hs
Expand Up @@ -12,7 +12,13 @@ module System.IO.Silently (
) where

import Prelude

#if __GLASGOW_HASKELL__ >= 612
import GHC.IO.Handle (hDuplicate, hDuplicateTo)
#else
import GHC.Handle (hDuplicate, hDuplicateTo)
#endif

import System.IO
import qualified Control.Exception as E
import Control.DeepSeq
Expand Down

0 comments on commit 38e523a

Please sign in to comment.