diff options
author | David Terei <code@davidterei.com> | 2014-11-19 18:00:11 -0800 |
---|---|---|
committer | David Terei <code@davidterei.com> | 2014-11-21 13:03:38 -0800 |
commit | 453ce626a32cab3728a640b2299eaeeb30da8862 (patch) | |
tree | 68cd150c04c1ae3b94fd741a97a777c6fe0fc502 /ghc | |
parent | 065d43335c03a47f74b702ea1f64a41ddefeb8d3 (diff) | |
download | haskell-453ce626a32cab3728a640b2299eaeeb30da8862.tar.gz |
Update Foreign.* for Safe Haskell now that they're safe by default
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/InteractiveUI.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs index 7fdda0b0fd..503811731d 100644 --- a/ghc/InteractiveUI.hs +++ b/ghc/InteractiveUI.hs @@ -81,7 +81,11 @@ import Data.Maybe import Exception hiding (catch) import Foreign.C +#if __GLASGOW_HASKELL__ >= 709 +import Foreign +#else import Foreign.Safe +#endif import System.Directory import System.Environment |