From: Jarkko Hietaniemi Date: Fri, 23 May 2003 16:00:51 +0000 (+0000) Subject: U/WIN extension fix from John P. Linderman. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a78934438304d870bbb6692563b455a4378d1d7a;p=p5sagit%2Fp5-mst-13.2.git U/WIN extension fix from John P. Linderman. p4raw-id: //depot/perl@19596 --- diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index f1e1013..1bb1578 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -74,11 +74,13 @@ #include #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