diff options
Diffstat (limited to 'gcc/java/jcf-path.c')
-rw-r--r-- | gcc/java/jcf-path.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.c index 04764c381d8..16ec65538d0 100644 --- a/gcc/java/jcf-path.c +++ b/gcc/java/jcf-path.c @@ -1,6 +1,6 @@ /* Handle CLASSPATH, -classpath, and path searching. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, - 2007, 2008 Free Software Foundation, Inc. + 2007, 2008, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -27,7 +27,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "config.h" #include "system.h" #include "coretypes.h" -#include "tm.h" /* FIXME: For GET_ENVIRONMENT from defaults.h. */ #include <dirent.h> @@ -224,7 +223,7 @@ jcf_path_init (void) sep[0] = DIR_SEPARATOR; sep[1] = '\0'; - GET_ENVIRONMENT (cp, "GCC_EXEC_PREFIX"); + cp = getenv ("GCC_EXEC_PREFIX"); if (cp) { attempt = (char *) alloca (strlen (cp) + 50); @@ -295,7 +294,7 @@ jcf_path_init (void) jcf_path_extdirs_arg (extdirs); } - GET_ENVIRONMENT (cp, "CLASSPATH"); + cp = getenv ("CLASSPATH"); add_path (&classpath_env, cp, 0); } |