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 /util.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 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1881,7 +1881,7 @@ Perl_vwarner(pTHX_ U32 err, const char* pat, va_list* args) } #ifndef VMS /* VMS' my_setenv() is in VMS.c */ -#if !defined(WIN32) && !defined(CYGWIN) +#if !defined(WIN32) && !defined(__CYGWIN__) void Perl_my_setenv(pTHX_ char *nam, char *val) { @@ -1931,8 +1931,8 @@ Perl_my_setenv(pTHX_ char *nam, char *val) #endif /* PERL_USE_SAFE_PUTENV */ } -#else /* WIN32 || CYGWIN */ -#if defined(CYGWIN) +#else /* WIN32 || __CYGWIN__ */ +#if defined(__CYGWIN__) /* * Save environ of perl.exe, currently Cygwin links in separate environ's * for each exe/dll. Probably should be a member of impure_ptr. |