(main): Protect invocation of setlocale by ifdef.

This commit is contained in:
Sergey Poznyakoff
2004-12-21 13:24:00 +00:00
parent 2d57bb240d
commit b5c890b887

View File

@@ -1621,6 +1621,7 @@ main (int argc, char **argv)
{
set_start_time ();
program_name = argv[0];
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);