summaryrefslogtreecommitdiff
path: root/ext/POSIX
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 /ext/POSIX
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 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.xs4
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