From 512ff4344751296eb523da480b15b20e970b7cab Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 3 Mar 2005 16:38:47 +0000 Subject: INTEGRATION: CWS solarisgcc02 (1.7.100); FILE MERGED 2005/02/15 20:29:43 pjanik 1.7.100.1: #i42569#: Declare variable altzone for gcc on Solaris. Patch contributed by Taniguchi Yasuaki (JCA). --- tools/source/datetime/ttime.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx index f359764f7291..2d3f443e6dd3 100644 --- a/tools/source/datetime/ttime.cxx +++ b/tools/source/datetime/ttime.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ttime.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2004-06-17 13:11:02 $ + * last change: $Author: kz $ $Date: 2005-03-03 17:38:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,6 +88,10 @@ #include #include +#if defined(SOLARIS) && defined(__GNUC__) +extern long altzone; +#endif + #ifndef WNT #ifndef localtime_r extern "C" { -- cgit