# New Ticket Created by David Leadbeater # Please include the string: [perl #81500] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81500 > From: David Leadbeater <dgl@dgl.cx> This is only normally defined if OEMVS is defined; the commit that added it (2f3efc97) claims z/OS support. I guess no-one has tried this for awhile as dd374669 broke this in 2005. --- miniperlmain.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/miniperlmain.c b/miniperlmain.c index 39f8f19..59d79b0 100644 --- a/miniperlmain.c +++ b/miniperlmain.c @@ -74,7 +74,9 @@ main(int argc, char **argv, char **env) my_vars = my_plvarsp = plvarsp; # endif #endif /* PERL_GLOBAL_STRUCT */ - (void)env; +#ifndef NO_ENV_ARRAY_IN_MAIN + PERL_UNUSED_ARG(env); +#endif #ifndef PERL_USE_SAFE_PUTENV PL_use_safe_putenv = 0; #endif /* PERL_USE_SAFE_PUTENV */ -- 1.7.3.3Thread Previous