summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-03-03 16:38:47 +0000
committerKurt Zenker <kz@openoffice.org>2005-03-03 16:38:47 +0000
commit512ff4344751296eb523da480b15b20e970b7cab (patch)
treea7897321f9d7906505ebeb61d9f2b6ed9bd0ed75 /tools
parenta19413b9e6d30969a055bfa75d6c551461333706 (diff)
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).
Diffstat (limited to 'tools')
-rw-r--r--tools/source/datetime/ttime.cxx8
1 files changed, 6 insertions, 2 deletions
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 <time.h>
#include <time.hxx>
+#if defined(SOLARIS) && defined(__GNUC__)
+extern long altzone;
+#endif
+
#ifndef WNT
#ifndef localtime_r
extern "C" {