From 308bd1b83e07d2418ee512ee1fcaeda609907669 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 29 Apr 2017 03:41:05 +0200 Subject: CPP for GHC 8.0 --- xmobar.cabal | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index af158f6..2bf79b9 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -148,6 +148,9 @@ executable xmobar 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