* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
authorFelix Lee <flee@cygnus.com>
Mon, 21 Sep 1998 00:57:11 +0000 (00:57 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Sep 1998 00:57:11 +0000 (18:57 -0600)
From-SVN: r22512

gcc/cp/ChangeLog
gcc/cp/lex.c

index dcbb93beb9cdae2c44de6eace89e558a37825939..df110e7e3728d99f6ca8727a95b7aa6305030803 100644 (file)
@@ -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.
index e2ab945a0cdc2b768b5a539f5ff3f32b792927b9..46d26ae83db48e8bd2c6c6afe5c8eee651142c45 100644 (file)
@@ -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