Commit 3e81ad16 by Felix Lee Committed by Jeff Law

* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().

From-SVN: r22512
parent b2a1e458
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment