[project @ 2005-04-15 21:51:28 by sof]
[ghc-hetmet.git] / ghc / lib / compat / Compat / Directory.hs
index bce1da6..e6e4cd4 100644 (file)
@@ -55,7 +55,7 @@ getAppUserDataDirectory appName = do
 #endif
 
 #if __GLASGOW_HASKELL__ && defined(mingw32_HOST_OS)
-foreign import stdcall unsafe "SHGetFolderPathA"
+foreign import ccall unsafe "directory.h __hscore_getFolderPath"
             c_SHGetFolderPath :: Ptr () 
                               -> CInt 
                               -> Ptr ()