Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
518cd397
Commit
518cd397
authored
Nov 15, 2016
by
bardur.arantsson
Committed by
GitHub
Nov 15, 2016
Browse files
Merge pull request #4101 from ezyang/pr/T4092
Handle undefined MIN_VERSION_base in Distribution.Utils.BinaryWithFin…
parents
431e8696
eca045bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Utils/BinaryWithFingerprint.hs
View file @
518cd397
...
...
@@ -8,7 +8,13 @@ module Distribution.Utils.BinaryWithFingerprint (
decodeWithFingerprintOrFailIO
,
)
where
#
if
MIN_VERSION_base
(
4
,
8
,
0
)
#
ifdef
MIN_VERSION_base
#
define
MINVER_base_48
MIN_VERSION_base
(
4
,
8
,
0
)
#
else
#
define
MINVER_base_48
(
__GLASGOW_HASKELL__
>=
710
)
#
endif
#
if
MINVER_base_48
import
Distribution.Compat.Binary
import
Data.ByteString.Lazy
(
ByteString
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment