projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6189bc5
)
[project @ 2005-03-24 09:19:52 by simonmar]
author
simonmar
<unknown>
Thu, 24 Mar 2005 09:19:53 +0000
(09:19 +0000)
committer
simonmar
<unknown>
Thu, 24 Mar 2005 09:19:53 +0000
(09:19 +0000)
__hscore_getFolderPath is ccall, not stdcall.
ghc/lib/compat/Compat/Directory.hs
patch
|
blob
|
history
diff --git
a/ghc/lib/compat/Compat/Directory.hs
b/ghc/lib/compat/Compat/Directory.hs
index
794af31
..
e6e4cd4
100644
(file)
--- a/
ghc/lib/compat/Compat/Directory.hs
+++ b/
ghc/lib/compat/Compat/Directory.hs
@@
-55,7
+55,7
@@
getAppUserDataDirectory appName = do
#endif
#if __GLASGOW_HASKELL__ && defined(mingw32_HOST_OS)
#endif
#if __GLASGOW_HASKELL__ && defined(mingw32_HOST_OS)
-foreign import stdcall unsafe "directory.h __hscore_getFolderPath"
+foreign import ccall unsafe "directory.h __hscore_getFolderPath"
c_SHGetFolderPath :: Ptr ()
-> CInt
-> Ptr ()
c_SHGetFolderPath :: Ptr ()
-> CInt
-> Ptr ()