We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef52e0 commit 6c77e7fCopy full SHA for 6c77e7f
Codec/Compression/Zlib/ByteStringCompat.hs
@@ -14,8 +14,7 @@ import Foreign.ForeignPtr (ForeignPtr)
14
import GHC.ForeignPtr (plusForeignPtr)
15
#else
16
import GHC.ForeignPtr (ForeignPtr(ForeignPtr))
17
-import GHC.Types (Int (..))
18
-import GHC.Prim (plusAddr#)
+import GHC.Exts (Int (..), plusAddr#)
19
#endif
20
21
mkBS :: ForeignPtr Word8 -> Int -> Int -> ByteString
zlib.cabal
@@ -95,8 +95,6 @@ library
95
96
build-depends: base >= 4.3 && < 4.20,
97
bytestring >= 0.9 && < 0.13
98
- if impl(ghc < 8.0.3)
99
- build-depends: ghc-prim
100
101
build-tools: hsc2hs >= 0.67 && < 0.69
102
-- GHC 7 ships hsc2hs-0.67
0 commit comments