diff options
author | jao <jao@gnu.org> | 2017-04-29 04:23:08 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2017-04-29 04:23:08 +0200 |
commit | a68ee89c43ea9fe49ddf19c4f5d889f9319b9995 (patch) | |
tree | dbd0a88a79930131957a752a66a364cdbe441f88 | |
parent | 1f9555f4549a64235ba24a11b59a5b5621dd9048 (diff) | |
download | xmobar-a68ee89c43ea9fe49ddf19c4f5d889f9319b9995.tar.gz xmobar-a68ee89c43ea9fe49ddf19c4f5d889f9319b9995.tar.bz2 |
Preprocessor nits
-rw-r--r-- | src/Plugins/Monitors/CoreCommon.hs | 3 | ||||
-rw-r--r-- | xmobar.cabal | 6 |
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 |