projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0bf2fda
)
Remove egregious ghc-ish from Foreign.Marshal
author
Malcolm.Wallace@me.com
<unknown>
Thu, 22 Jul 2010 07:54:49 +0000
(07:54 +0000)
committer
Malcolm.Wallace@me.com
<unknown>
Thu, 22 Jul 2010 07:54:49 +0000
(07:54 +0000)
Foreign/Marshal.hs
patch
|
blob
|
history
diff --git
a/Foreign/Marshal.hs
b/Foreign/Marshal.hs
index
b815122
..
2c16c01
100644
(file)
--- a/
Foreign/Marshal.hs
+++ b/
Foreign/Marshal.hs
@@
-32,7
+32,11
@@
import Foreign.Marshal.Error
import Foreign.Marshal.Pool
import Foreign.Marshal.Utils
import Foreign.Marshal.Pool
import Foreign.Marshal.Utils
+#ifdef __GLASGOW_HASKELL__
import GHC.IO
import GHC.IO
+#else
+import System.IO.Unsafe
+#endif
{- |
Sometimes an external entity is a pure function, except that it passes
{- |
Sometimes an external entity is a pure function, except that it passes