U/WIN extension fix from John P. Linderman.
Jarkko Hietaniemi [Fri, 23 May 2003 16:00:51 +0000 (16:00 +0000)]
p4raw-id: //depot/perl@19596

ext/POSIX/POSIX.xs

index f1e1013..1bb1578 100644 (file)
 #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