summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-06 19:28:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-06 19:28:31 +0000
commitd308986b5b369caa1602a636a5e2ecfa149dfc89 (patch)
tree5e4539c17b4ffa8bb9cd7da74aa918d3204193f0 /mg.c
parent66fbe9e21b14c795ac9035c7be86e21c370a7532 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mg.c b/mg.c
index f0c3bf3d8c..8d2e4e3d26 100644
--- a/mg.c
+++ b/mg.c
@@ -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;