base32-bytestring 0.2.0.1 → 0.2.1.0
raw patch · 3 files changed
+10/−3 lines, 3 files
Files
- ChangeLog +4/−0
- base32-bytestring.cabal +2/−2
- src/Data/ByteString/Base32/Internal.hs +4/−1
ChangeLog view
@@ -1,3 +1,7 @@+2013-12-01 Sam Truzjan <pxqr.sta@gmail.com>++ * 0.2.1.0: Fixed build failure with base < 4.6.0.+ 2013-11-29 Sam Truzjan <pxqr.sta@gmail.com> * 0.2.0.1: Add tests to tarball.
base32-bytestring.cabal view
@@ -1,5 +1,5 @@ name: base32-bytestring-version: 0.2.0.1+version: 0.2.1.0 license: BSD3 license-file: LICENSE author: Sam Truzjan@@ -29,7 +29,7 @@ type: git location: git://github.com/pxqr/base32-bytestring.git branch: master- tag: v0.2.0.1+ tag: v0.2.1.0 library default-language: Haskell2010
src/Data/ByteString/Base32/Internal.hs view
@@ -8,7 +8,7 @@ -- (Word5 <-> Word8) and (Word8 -> Word5) bytestring packers using -- lookup table. ---{-# LANGUAGE BangPatterns #-}+{-# LANGUAGE CPP, BangPatterns #-} module Data.ByteString.Base32.Internal ( Word5 , Word8@@ -22,6 +22,9 @@ , invIx ) where +#if !MIN_VERSION_base(4,6,0)+import Prelude hiding (catch)+#endif import Control.Exception hiding (mask) import Data.Bits.Extras import Data.ByteString as BS