diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 19:28:31 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 19:28:31 +0000 |
commit | d308986b5b369caa1602a636a5e2ecfa149dfc89 (patch) | |
tree | 5e4539c17b4ffa8bb9cd7da74aa918d3204193f0 /mg.c | |
parent | 66fbe9e21b14c795ac9035c7be86e21c370a7532 (diff) | |
download | perl-d308986b5b369caa1602a636a5e2ecfa149dfc89.tar.gz |
use builtin __CYGWIN__ rather than -DCYGWIN (from Eric Fifer
<EFifer@sanwaint.com>)
p4raw-id: //depot/perl@5008
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -916,7 +916,7 @@ Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg) } FreeEnvironmentStrings(envv); # else -# ifdef CYGWIN +# ifdef __CYGWIN__ I32 i; for (i = 0; environ[i]; i++) safesysfree(environ[i]); @@ -930,7 +930,7 @@ Perl_magic_clear_all_env(pTHX_ SV *sv, MAGIC *mg) for (i = 0; environ[i]; i++) safesysfree(environ[i]); # endif /* PERL_USE_SAFE_PUTENV */ -# endif /* CYGWIN */ +# endif /* __CYGWIN__ */ environ[0] = Nullch; |