Skip to content

Commit

Permalink
CPP to avoid warning re: Prelude (catch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Yorgey committed Nov 7, 2013
1 parent 4f28eae commit 904b04d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Diagrams/Backend/Cairo/CmdLine.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ import Diagrams.Backend.Cairo.Internal

import System.Console.CmdArgs.Implicit hiding (args)

#if __GLASGOW_HASKELL__ < 706
import Prelude hiding (catch)
#else
import Prelude
#endif

import Data.Maybe (fromMaybe)
import Control.Monad (when, forM_, mplus)
Expand Down

0 comments on commit 904b04d

Please sign in to comment.