diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-11 12:49:23 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-11 12:49:23 -0400 |
commit | 1a454dc9882737120f7fafe3c2a0bac97ea67433 (patch) | |
tree | 1473f6e48145711d3aada7fa3991e62fbf9b62cd | |
parent | f6a1e2335ad8fa6ccb98b268b4f5c01951559ccf (diff) |
type signature works for both old and new versions of ifdef
-rw-r--r-- | Utility/Url.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs index 5bf09ca4d..3ebbf4160 100644 --- a/Utility/Url.hs +++ b/Utility/Url.hs @@ -350,8 +350,8 @@ parseURIRelaxed :: URLString -> Maybe URI parseURIRelaxed s = maybe (parseURIRelaxed' s) Just $ parseURI $ escapeURIString isAllowedInURI s -#if MIN_VERSION_http_client(0,4,30) parseUrlConduit :: URLString -> Maybe Request +#if MIN_VERSION_http_client(0,4,30) parseUrlConduit = parseUrlThrow #else parseUrlConduit = parseUrl |