Skip to content
Snippets Groups Projects
Commit 2cf1a117 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

LC_* undefined now fixed

Rev: src/main.c:1.2
parent 1baabdbb
No related branches found
No related tags found
No related merge requests found
......@@ -56,11 +56,21 @@ void main(int argc, char **argv, char **env)
struct array *a;
#ifdef HAVE_SETLOCALE
#ifdef LC_NUMERIC
setlocale(LC_NUMERIC, "C");
#endif
#ifdef LC_CTYPE
setlocale(LC_CTYPE, "");
#endif
#ifdef LC_TIME
setlocale(LC_TIME, "C");
#endif
#ifdef LC_COLLATE
setlocale(LC_COLLATE, "");
#endif
#ifdef LC_MESSAGES
setlocale(LC_MESSAGES, "");
#endif
#endif
init_backend();
master_file = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment