aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 98179bc..61d583c 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -128,10 +128,6 @@ static const char * const standard_exec_prefix = STANDARD_EXEC_PREFIX;
static const char * const target_machine = DEFAULT_TARGET_MACHINE;
static const char * const target_version = DEFAULT_TARGET_VERSION;
-#ifndef GET_ENV_PATH_LIST
-#define GET_ENV_PATH_LIST(VAR,NAME) do { (VAR) = getenv (NAME); } while (0)
-#endif
-
#endif /* !defined (UNPROTOIZE) */
/* Suffix of aux_info files. */
@@ -4415,7 +4411,7 @@ do_processing ()
}
else
{
- GET_ENV_PATH_LIST (default_syscalls_dir, "GCC_EXEC_PREFIX");
+ GET_ENVIRONMENT (default_syscalls_dir, "GCC_EXEC_PREFIX");
if (!default_syscalls_dir)
{
default_syscalls_dir = standard_exec_prefix;