* as.c (main): Conditionally call setlocale.
* gasp.c (main): Likewise. * asintl.h: Include <locale.h> if HAVE_LOCALE_H. (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
This commit is contained in:
parent
faaba487f8
commit
2614063dce
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* as.c (main): Conditionally call setlocale.
|
||||
* gasp.c (main): Likewise.
|
||||
* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
|
||||
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
|
||||
|
||||
start-sanitize-d30v
|
||||
Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
|
||||
|
||||
|
|
|
@ -3605,7 +3605,9 @@ main (argc, argv)
|
|||
ifstack[0].on = 1;
|
||||
ifi = 0;
|
||||
|
||||
#ifdef HAVE_SETLOCALE
|
||||
setlocale (LC_MESSAGES, "");
|
||||
#endif
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue