Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7f788ada
Commit
7f788ada
authored
Mar 24, 2005
by
simonmar
Browse files
[project @ 2005-03-24 09:27:20 by simonmar]
omit __hscore_getFolderPath if __GLASGOW_HASKELL__ < 604
parent
cf2c44b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/compat/cbits/directory.c
View file @
7f788ada
#include "../../../includes/ghcconfig.h"
#include "HsFFI.h"
#include "../../../includes/ghcconfig.h"
#if HAVE_LIMITS_H
#include <limits.h>
#endif
...
...
@@ -49,6 +49,7 @@ INLINE int __hscore_CSIDL_APPDATA() { return CSIDL_APPDATA; }
INLINE
int
__hscore_CSIDL_WINDOWS
()
{
return
CSIDL_WINDOWS
;
}
INLINE
int
__hscore_CSIDL_PERSONAL
()
{
return
CSIDL_PERSONAL
;
}
#if __GLASGOW_HASKELL__ < 604
/*
* Function: __hscore_getFolderPath()
*
...
...
@@ -91,4 +92,5 @@ __hscore_getFolderPath(HWND hwndOwner,
return
(
int
)
funcPtr
(
hwndOwner
,
nFolder
,
hToken
,
dwFlags
,
pszPath
);
/* ToDo: unload the DLL on shutdown? */
}
#endif
/* __GLASGOW_HASKELL__ < 604 */
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment