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