summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58ce814)
setlocale(LC_ALL,""), to enable the locale support in libc.
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: RtsStartup.c,v 1.73 2003/04/01 15:05:15 sof Exp $
+ * $Id: RtsStartup.c,v 1.74 2003/08/19 16:32:23 simonmar Exp $
*
* (c) The GHC Team, 1998-2002
*
*
* (c) The GHC Team, 1998-2002
*
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
// Flag Structure
struct RTS_FLAGS RtsFlags;
// Flag Structure
struct RTS_FLAGS RtsFlags;
+#ifdef HAVE_LOCALE_H
+ setlocale(LC_ALL,"");
+#endif
+
/* Record initialization times */
stat_endInit();
}
/* Record initialization times */
stat_endInit();
}