summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PprBase.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-08-13 09:42:10 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-08-14 12:17:12 +0100
commit6af8d6174176c1c05219cb901851e6d902eadc7a (patch)
tree0964b4e6586837c82b548dfb1df1b062a81bc815 /compiler/nativeGen/PprBase.hs
parentf6f04307747ca890fc06617bc63feaebd4e9aceb (diff)
downloadhaskell-6af8d6174176c1c05219cb901851e6d902eadc7a.tar.gz
fix some #ifdefs that were making compilation with 7.2.1 fail - the
safified array package is not in 7.2.1
Diffstat (limited to 'compiler/nativeGen/PprBase.hs')
-rw-r--r--compiler/nativeGen/PprBase.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/PprBase.hs b/compiler/nativeGen/PprBase.hs
index 5781e89997..5b9000cfca 100644
--- a/compiler/nativeGen/PprBase.hs
+++ b/compiler/nativeGen/PprBase.hs
@@ -22,7 +22,7 @@ import CLabel
import Pretty
-- castSTUArray has moved to Data.Array.Unsafe
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
import Data.Array.Unsafe( castSTUArray )
import Data.Array.ST hiding( castSTUArray )
#else