From 88126b4bbfb25329d0bd17b821075444272c9f35 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Wed, 9 May 2018 21:40:57 -0500 Subject: [PATCH] change CPP to something more semantically reasonable I'm not sure how the previous version worked, to be honest. --- src/Graphics/Svg/Core.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics/Svg/Core.hs b/src/Graphics/Svg/Core.hs index bbe396e..64a8e03 100644 --- a/src/Graphics/Svg/Core.hs +++ b/src/Graphics/Svg/Core.hs @@ -40,7 +40,7 @@ import Data.ByteString.Lazy (ByteString) import Data.Hashable (Hashable(..)) import Data.HashMap.Strict (HashMap) import qualified Data.HashMap.Strict as M -#if __GLASGOW_HASKELL__ != 710 +#if !MIN_VERSION_base(4,8,0) import Data.Monoid (Monoid(..)) #endif import Data.Semigroup (Semigroup(..))