summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-06-20 23:15:41 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-06-20 23:15:41 +0000
commitfa4efe8e185f853b396be995a5d8d97c8d245e03 (patch)
tree84603418e0a1675817d59a9aa49478da88e219a0 /ext/POSIX
parenteda5ff319dcb749e45b560057fa141edfd70ae33 (diff)
downloadperl-fa4efe8e185f853b396be995a5d8d97c8d245e03.tar.gz
tweaks to allow both mingw32{gcc-2.8.1,egcs-1.0.2} build and test
p4raw-id: //depot/perl@1163
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index a4fd52e04b..41c6ba35de 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -275,7 +275,7 @@ unsigned long strtoul _((const char *, char **, int));
extern char *tzname[];
# endif
#else
-#if !defined(__GNUC__) && !defined(tzname)
+#if !defined(WIN32) || (defined(__MINGW32__) && !defined(tzname))
char *tzname[] = { "" , "" };
#endif
#endif