lots of portability changes (#1405)
[ghc-hetmet.git] / compiler / utils / Digraph.lhs
index f80b33f..939dc49 100644 (file)
@@ -54,7 +54,7 @@ import Data.Maybe
 import Data.Array
 import Data.List
 
-#if __GLASGOW_HASKELL__ > 604
+#if !defined(__GLASGOW_HASKELL__) || __GLASGOW_HASKELL__ > 604
 import Data.Array.ST
 #else
 import Data.Array.ST  hiding ( indices, bounds )