summaryrefslogtreecommitdiff
path: root/compiler/cmm
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/cmm
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/cmm')
-rw-r--r--compiler/cmm/PprC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index cad5c89fb5..51b0031ad3 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -49,7 +49,7 @@ import qualified Data.Map as Map
import Data.Word
-- 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