[commit: packages/haskell2010] master: Fix deprecation of Foreign.Safe in base 4.8 (37670e7)

git at git.haskell.org git at git.haskell.org
Fri Nov 21 20:23:24 UTC 2014


Repository : ssh://git@git.haskell.org/haskell2010

On branch  : master
Link       : http://git.haskell.org/packages/haskell2010.git/commitdiff/37670e7e35a09c94a0af4ccd530198b4ac74420a

>---------------------------------------------------------------

commit 37670e7e35a09c94a0af4ccd530198b4ac74420a
Author: David Terei <code at davidterei.com>
Date:   Fri Nov 21 11:34:37 2014 -0800

    Fix deprecation of Foreign.Safe in base 4.8


>---------------------------------------------------------------

37670e7e35a09c94a0af4ccd530198b4ac74420a
 Foreign/Marshal/Array.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Foreign/Marshal/Array.hs b/Foreign/Marshal/Array.hs
index 4f8d181..7f45c46 100644
--- a/Foreign/Marshal/Array.hs
+++ b/Foreign/Marshal/Array.hs
@@ -66,7 +66,7 @@ module Foreign.Marshal.Array (
   ) where
 import qualified "base" Foreign.Marshal.Array as Base
 import "base" Foreign.Marshal.Array hiding (peekArray)
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 701 && __GLASGOW_HASKELL__ < 709
 import "base" Foreign.Safe hiding (peekArray)
 #else
 import "base" Foreign hiding (peekArray)



More information about the ghc-commits mailing list