summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Plugins/Monitors/CoreCommon.hs3
-rw-r--r--xmobar.cabal6
2 files changed, 1 insertions, 8 deletions
diff --git a/src/Plugins/Monitors/CoreCommon.hs b/src/Plugins/Monitors/CoreCommon.hs
index 087630a..6298421 100644
--- a/src/Plugins/Monitors/CoreCommon.hs
+++ b/src/Plugins/Monitors/CoreCommon.hs
@@ -16,8 +16,7 @@
module Plugins.Monitors.CoreCommon where
-#ifdef GHC8
-#else
+#if __GLASGOW_HASKELL__ < 800
import Control.Applicative
#endif
diff --git a/xmobar.cabal b/xmobar.cabal
index 2bf79b9..226ec59 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -145,12 +145,6 @@ executable xmobar
if flag(with_rtsopts)
ghc-options: -with-rtsopts=-V0
- if impl (ghc < 7)
- cpp-options: -DGHC6
-
- if impl (ghc > 7)
- cpp-options: -DGHC8
-
if flag(with_xft) || flag(all_extensions)
build-depends: utf8-string >= 0.3 && < 1.1, X11-xft >= 0.2 && < 0.4
other-modules: MinXft