mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 14:29:29 +08:00
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
From-SVN: r22512
This commit is contained in:
parent
b2a1e45827
commit
3e81ad1642
@ -1,3 +1,7 @@
|
||||
Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
|
||||
|
||||
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
|
||||
|
||||
1998-09-20 Mark Mitchell <mark@markmitchell.com>
|
||||
|
||||
* class.c (maybe_warn_about_overly_private_class): Reformat.
|
||||
|
@ -42,10 +42,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#ifdef MULTIBYTE_CHARS
|
||||
#include "mbchar.h"
|
||||
#include <locale.h>
|
||||
|
||||
#ifndef GET_ENVIRONMENT
|
||||
#define GET_ENVIRONMENT(ENV_VALUE,ENV_NAME) ((ENV_VALUE) = getenv (ENV_NAME))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define obstack_chunk_alloc xmalloc
|
||||
@ -475,7 +471,7 @@ init_parse (filename)
|
||||
#ifdef MULTIBYTE_CHARS
|
||||
/* Change to the native locale for multibyte conversions. */
|
||||
setlocale (LC_CTYPE, "");
|
||||
GET_ENVIRONMENT (literal_codeset, "LANG");
|
||||
literal_codeset = getenv ("LANG");
|
||||
#endif
|
||||
|
||||
#if USE_CPPLIB
|
||||
|
Loading…
Reference in New Issue
Block a user