diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-26 13:43:03 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-26 13:43:03 +0000 |
commit | 71856d4aaaaa28fee88b5d6283036a4261a0ae03 (patch) | |
tree | c96987e771c16004d55690b11b637bd2a1de4f25 /mg.c | |
parent | 0d968e2778d0a0af976e3961abad0f771c1e65ce (diff) | |
download | perl-71856d4aaaaa28fee88b5d6283036a4261a0ae03.tar.gz |
USE_ENVIRON_ARRAY instead of !MACOS_TRADITIONAL,
as suggested by Sarathy.
p4raw-id: //depot/perl@12687
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -962,7 +962,7 @@ Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg) # if defined(PERL_IMPLICIT_SYS) || defined(WIN32) PerlEnv_clearenv(); # else -#if !defined(MACOS_TRADITIONAL) +# ifdef USE_ENVIRON_ARRAY # ifndef PERL_USE_SAFE_PUTENV I32 i; @@ -975,9 +975,9 @@ Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg) environ[0] = Nullch; -#endif /* !defined(MACOS_TRADITIONAL) */ -# endif /* PERL_IMPLICIT_SYS */ -#endif /* VMS */ +# endif /* USE_ENVIRON_ARRAY */ +# endif /* PERL_IMPLICIT_SYS || WIN32 */ +#endif /* VMS || EPC */ return 0; } |