projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abb469
)
Don't define the C localeEncoding on Windows
author
Ian Lynagh
<igloo@earth.li>
Sun, 20 Jun 2010 20:23:42 +0000
(20:23 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 20 Jun 2010 20:23:42 +0000
(20:23 +0000)
(it causes warnings, and isn't used)
cbits/PrelIOUtils.c
patch
|
blob
|
history
diff --git
a/cbits/PrelIOUtils.c
b/cbits/PrelIOUtils.c
index
f43f5d8
..
9e05f08
100644
(file)
--- a/
cbits/PrelIOUtils.c
+++ b/
cbits/PrelIOUtils.c
@@
-30,6
+30,7
@@
void debugBelch2(const char*s, char *t)
# include <langinfo.h>
#endif
+#if !defined(mingw32_HOST_OS)
const char* localeEncoding(void)
{
#if defined(HAVE_LIBCHARSET)
@@
-46,5
+47,6
@@
const char* localeEncoding(void)
return "";
#endif
}
+#endif
#endif /* __GLASGOW_HASKELL__ */