type signature works for both old and new versions of ifdef
This commit is contained in:
parent
dd17611b00
commit
70344d25c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue