diff options
| author | David Terei <davidterei@gmail.com> | 2011-05-19 00:57:12 -0700 |
|---|---|---|
| committer | David Terei <davidterei@gmail.com> | 2011-06-17 20:39:56 -0700 |
| commit | c84ddf85ed52609d5468101d38958503b092c269 (patch) | |
| tree | b345e73a157cd446b8f77f01d5b93caa2b48ffa2 /compiler/utils/Encoding.hs | |
| parent | e0eb7e7de292ba2bb0aa5ca261b7b41169b58af0 (diff) | |
| download | haskell-c84ddf85ed52609d5468101d38958503b092c269.tar.gz | |
SafeHaskell: Update to work with safe base
Diffstat (limited to 'compiler/utils/Encoding.hs')
| -rw-r--r-- | compiler/utils/Encoding.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/Encoding.hs b/compiler/utils/Encoding.hs index 84b4e092f1..4351538702 100644 --- a/compiler/utils/Encoding.hs +++ b/compiler/utils/Encoding.hs @@ -32,7 +32,11 @@ module Encoding ( import Foreign import Data.Char import Numeric +#if __GLASGOW_HASKELL__ >= 701 +import GHC.Ptr.Unsafe ( Ptr(..) ) +#else import GHC.Ptr ( Ptr(..) ) +#endif import GHC.Base -- ----------------------------------------------------------------------------- |
