From 1a454dc9882737120f7fafe3c2a0bac97ea67433 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Dec 2017 12:49:23 -0400 Subject: type signature works for both old and new versions of ifdef --- Utility/Url.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3