projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Derived Foldable instances should use Data.Foldable.foldr
[ghc-hetmet.git]
/
rts
/
RtsStartup.c
diff --git
a/rts/RtsStartup.c
b/rts/RtsStartup.c
index
bc8379e
..
c21aac7
100644
(file)
--- a/
rts/RtsStartup.c
+++ b/
rts/RtsStartup.c
@@
-63,6
+63,9
@@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
#if USE_PAPI
#include "Papi.h"
@@
-132,6
+135,8
@@
hs_init(int *argc, char **argv[])
return;
}
+ setlocale(LC_CTYPE,"");
+
/* Initialise the stats department, phase 0 */
initStats0();