summaryrefslogtreecommitdiff
path: root/compiler/vectorise
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-13 16:00:48 +0000
committerIan Lynagh <igloo@earth.li>2010-09-13 16:00:48 +0000
commitb597fa5bd78b96ea1c2f7ed6a6183ea8004fcbeb (patch)
treeab0e8d5977022284b113b42c9ad3350436a5ce41 /compiler/vectorise
parent56a437ee698c5a46864e7fcc530707742589ef7d (diff)
downloadhaskell-b597fa5bd78b96ea1c2f7ed6a6183ea8004fcbeb.tar.gz
Fix build with 6.10
Diffstat (limited to 'compiler/vectorise')
-rw-r--r--compiler/vectorise/Vectorise/Type/Env.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/vectorise/Vectorise/Type/Env.hs b/compiler/vectorise/Vectorise/Type/Env.hs
index 18de832019..8e26ed9788 100644
--- a/compiler/vectorise/Vectorise/Type/Env.hs
+++ b/compiler/vectorise/Vectorise/Type/Env.hs
@@ -1,4 +1,7 @@
-{-# OPTIONS_GHC -XNoMonoLocalBinds -fno-warn-missing-signatures #-}
+{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
+#if __GLASGOW_HASKELL__ >= 611
+{-# OPTIONS_GHC -XNoMonoLocalBinds #-}
+#endif
-- Roman likes local bindings
-- If this module lives on I'd like to get rid of this flag in due course