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 /ext/POSIX | |
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 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 4c96f12e4f..af43c40714 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -106,7 +106,7 @@ } # define times(t) vms_times(t) #else -#if defined (CYGWIN) +#if defined (__CYGWIN__) # define tzname _tzname #endif #if defined (WIN32) @@ -289,7 +289,7 @@ unsigned long strtoul (const char *, char **, int); #endif #ifdef HAS_TZNAME -# if !defined(WIN32) && !defined(CYGWIN) +# if !defined(WIN32) && !defined(__CYGWIN__) extern char *tzname[]; # endif #else |