From a42dd565b8639dadfa507abc08530fdd4baee86c Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Thu, 31 Jan 2002 06:44:59 +0000 Subject: [PATCH] ICU-1632 temporary fix for tzname. X-SVN-Rev: 7544 --- icu4c/source/common/putil.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/putil.c b/icu4c/source/common/putil.c index 8cb24b49002..33864f7fab1 100644 --- a/icu4c/source/common/putil.c +++ b/icu4c/source/common/putil.c @@ -31,7 +31,7 @@ * 06/28/99 stephen Removed mutex locking in u_isBigEndian(). * 08/04/99 jeffrey R. Added OS/2 changes * 11/15/99 helena Integrated S/390 IEEE support. -* 04/26/01 Barry N. OS/400 support for uprv_getDefaultLocaleID +* 04/26/01 Barry N. OS/400 support for uprv_getDefaultLocaleIDM * 08/15/01 Steven H. OS/400 support for uprv_getDefaultCodepage ****************************************************************************** */ @@ -771,6 +771,13 @@ uprv_timezone() #endif } +/* Note that U_TZNAME does *not* have to be tzname, but if it does, + some platforms need to have it declared here. */ + +#ifndef tzname /* For SGI. */ +extern char *tzname[]; /* RS6000 and others reject char **tzname. */ +#endif + U_CAPI char* U_EXPORT2 uprv_tzname(int n) {