Skip to content

Commit

Permalink
Add CPP condition for Eta (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulmutt authored and RyanGlScott committed Aug 15, 2017
1 parent 6ccef33 commit 659bcd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-ghc7/Data/Semigroup.hs
Expand Up @@ -116,7 +116,7 @@ import Control.Monad
import Control.Monad.Fix
import qualified Data.Monoid as Monoid
import Data.List.NonEmpty
#if MIN_VERSION_base(4,4,0) && !defined(mingw32_HOST_OS) && !defined(ghcjs_HOST_OS)
#if MIN_VERSION_base(4,4,0) && !defined(mingw32_HOST_OS) && !defined(ghcjs_HOST_OS) && !defined(ETA_VERSION)
import GHC.Event
#endif

Expand Down Expand Up @@ -1212,7 +1212,7 @@ instance Semigroup a => Semigroup (Tagged s a) where
instance Semigroup a => Semigroup (IO a) where
(<>) = liftA2 (<>)

#if !defined(mingw32_HOST_OS) && !defined(ghcjs_HOST_OS)
#if !defined(mingw32_HOST_OS) && !defined(ghcjs_HOST_OS) && !defined(ETA_VERSION)
# if MIN_VERSION_base(4,4,0)
instance Semigroup Event where
(<>) = mappend
Expand Down

0 comments on commit 659bcd0

Please sign in to comment.