projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
portable implementation of WordPtr/IntPtr for non-GHC
[ghc-base.git]
/
Foreign
/
C
/
Types.hs
diff --git
a/Foreign/C/Types.hs
b/Foreign/C/Types.hs
index
625c4b3
..
7e8c5a3
100644
(file)
--- a/
Foreign/C/Types.hs
+++ b/
Foreign/C/Types.hs
@@
-81,8
+81,11
@@
import GHC.Show
import GHC.Read
import GHC.Num
#else
-import Control.Monad
-import Foreign.Ptr
+import Control.Monad ( liftM )
+#endif
+
+#ifdef __HUGS__
+import Hugs.Ptr ( castPtr )
#endif
#include "HsBaseConfig.h"