summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-23 16:00:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-23 16:00:51 +0000
commita78934438304d870bbb6692563b455a4378d1d7a (patch)
tree44ec125eba21749dd65cf3cbcf13db0ce6639ae8 /ext/POSIX
parent47dd3999631d2fd5030069ca2ee4380b5f022d88 (diff)
downloadperl-a78934438304d870bbb6692563b455a4378d1d7a.tar.gz
U/WIN extension fix from John P. Linderman.
p4raw-id: //depot/perl@19596
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.xs6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index f1e1013673..1bb1578d32 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -74,11 +74,13 @@
#include <fcntl.h>
#ifdef HAS_TZNAME
-# if !defined(WIN32) && !defined(__CYGWIN__) && !defined(NETWARE)
+# if !defined(WIN32) && !defined(__CYGWIN__) && !defined(NETWARE) &&
+defined(__UWIN__)
extern char *tzname[];
# endif
#else
-#if !defined(WIN32) || (defined(__MINGW32__) && !defined(tzname))
+#if !defined(WIN32) && !defined(__UWIN__) || (defined(__MINGW32__) &&
+defined(tzname))
char *tzname[] = { "" , "" };
#endif
#endif