summaryrefslogtreecommitdiff
path: root/ext/POSIX/POSIX.xs
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-06-20 21:48:32 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-06-20 21:48:32 +0000
commiteda5ff319dcb749e45b560057fa141edfd70ae33 (patch)
tree7de3799955f53ca2cb004f1c02ec63f616c6bcd6 /ext/POSIX/POSIX.xs
parent249edfdff1b2b750e894ee5a0b6cb64d2640ca02 (diff)
downloadperl-eda5ff319dcb749e45b560057fa141edfd70ae33.tar.gz
manual integration of all outstanding ansi branch stuff into mainline
p4raw-id: //depot/perl@1162
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r--ext/POSIX/POSIX.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index fd27b11623..a4fd52e04b 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -275,8 +275,10 @@ unsigned long strtoul _((const char *, char **, int));
extern char *tzname[];
# endif
#else
+#if !defined(__GNUC__) && !defined(tzname)
char *tzname[] = { "" , "" };
#endif
+#endif
/* XXX struct tm on some systems (SunOS4/BSD) contains extra (non POSIX)
* fields for which we don't have Configure support yet: