From a68ee89c43ea9fe49ddf19c4f5d889f9319b9995 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 29 Apr 2017 04:23:08 +0200 Subject: Preprocessor nits --- src/Plugins/Monitors/CoreCommon.hs | 3 +-- xmobar.cabal | 6 ------ 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3