From 4cf3aaecde9705069a46c23dcd19b32e60f9f3f4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 25 Jun 2012 14:27:22 -0700 Subject: Test for base 4.4.0 instead of 4.5.0 for argument/filename encoding. --- src/pandoc.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pandoc.hs') diff --git a/src/pandoc.hs b/src/pandoc.hs index 7e9646c94..0eb64c9ba 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -58,13 +58,13 @@ import Network.URI (parseURI, isURI, URI(..)) import qualified Data.ByteString.Lazy as B import Data.ByteString.Lazy.UTF8 (toString ) import Text.CSL.Reference (Reference(..)) -#if MIN_VERSION_base(4,5,0) +#if MIN_VERSION_base(4,4,0) #else import Codec.Binary.UTF8.String (decodeString, encodeString) #endif encodePath, decodeArg :: FilePath -> FilePath -#if MIN_VERSION_base(4,5,0) +#if MIN_VERSION_base(4,4,0) encodePath = id decodeArg = id #else -- cgit v1.2.3