From 2cf1a117d358f281a4015cf8ff0c7f2ce9021f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 23 Sep 1996 01:24:14 +0200 Subject: [PATCH] LC_* undefined now fixed Rev: src/main.c:1.2 --- src/main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main.c b/src/main.c index fbe2092c9f..810f7e4c25 100644 --- a/src/main.c +++ b/src/main.c @@ -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; -- GitLab