Skip to content
Browse files

cabal-install: Use LANGUAGE pragma instead of Cabal extensions

The main motivation for this change is to make it more convenient to use
GHCi.
  • Loading branch information...
1 parent 5d6ef45 commit 0eccd4c75805ad6eb1d2e5d5e983d9b372ab528b @sol committed Nov 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 cabal-install/Distribution/Client/JobControl.hs
  2. +0 −1 cabal-install/cabal-install.cabal
View
1 cabal-install/Distribution/Client/JobControl.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.Client.JobControl
View
1 cabal-install/cabal-install.cabal
@@ -142,5 +142,4 @@ Executable cabal
cpp-options: -DWIN32
else
build-depends: unix >= 1.0 && < 2.7
- extensions: CPP, ForeignFunctionInterface
c-sources: cbits/getnumcores.c

0 comments on commit 0eccd4c

Please sign in to comment.
Something went wrong with that request. Please try again.