Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/781ff381063a368f363e0f6db73d8c9a60e1a2ba

>---------------------------------------------------------------

commit 781ff381063a368f363e0f6db73d8c9a60e1a2ba
Author: Milan Straka <[email protected]>
Date:   Tue Nov 29 09:59:35 2011 +0100

    Fix compilation with ghc-6.12.
    
    GHC < 7.0 cannot handle conditional pragmas, which we use.
    Therefore for GHC < 7.0, the extensions are specified in the cabal file.
    When GHC < 7.0 obsoletes, we will remove them.

>---------------------------------------------------------------

 containers.cabal |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/containers.cabal b/containers.cabal
index 84ee7d0..55a51e2 100644
--- a/containers.cabal
+++ b/containers.cabal
@@ -51,6 +51,9 @@ Library
 
     include-dirs: include
 
+    if impl(ghc<7.0)
+        extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, 
Rank2Types
+
     if flag(testing)
         cpp-options: -DTESTING
 



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to