diff options
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index a90d3b58f11..e361f5bbe09 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -36,10 +36,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 /* MULTIBYTE_CHARS */ #if USE_CPPLIB @@ -230,7 +226,7 @@ init_lex () #ifdef MULTIBYTE_CHARS /* Change to the native locale for multibyte conversions. */ setlocale (LC_CTYPE, ""); - GET_ENVIRONMENT (literal_codeset, "LANG"); + literal_codeset = getenv ("LANG"); #endif maxtoken = 40; |