Fix build with 6.10
[ghc-hetmet.git] / compiler / vectorise / Vectorise / Type / Env.hs
index 18de832..8e26ed9 100644 (file)
@@ -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