(main): Protect invocation of setlocale by ifdef.

This commit is contained in:
Sergey Poznyakoff
2004-12-21 14:44:15 +00:00
parent 368172bf25
commit 5842962ed6

View File

@@ -1622,7 +1622,9 @@ main (int argc, char **argv)
set_start_time ();
program_name = argv[0];
#ifdef HAVE_SETLOCALE
setlocale (LC_ALL, "");
#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);