From b28741fc57f5ced346ae195fbce760053d285b42 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien <hr@openoffice.org> Date: Wed, 16 Jul 2003 16:26:54 +0000 Subject: INTEGRATION: CWS ooo11rc2 (1.4.102); FILE MERGED 2003/07/14 15:41:11 fa 1.4.102.1: Conditionalize OS X + gcc 2.95 hacks for gcc 2.95 only. http://www.openoffice.org/project/www/issues/show_bug.cgi?id=16695 Dan fa@ooo --- comphelper/inc/comphelper/IdPropArrayHelper.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/comphelper/inc/comphelper/IdPropArrayHelper.hxx b/comphelper/inc/comphelper/IdPropArrayHelper.hxx index 52e0658e7c57..5918ea660cd0 100644 --- a/comphelper/inc/comphelper/IdPropArrayHelper.hxx +++ b/comphelper/inc/comphelper/IdPropArrayHelper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: IdPropArrayHelper.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jl $ $Date: 2001-03-22 13:28:36 $ + * last change: $Author: hr $ $Date: 2003-07-16 17:26:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -129,7 +129,8 @@ namespace comphelper }; //------------------------------------------------------------------ -#ifndef MACOSX +// do NOT compile these on Mac OS X with gcc 2.95, but DO compile for all others +#if !defined( MACOSX ) || (defined(MACOSX) && (__GNUC__ >= 3)) template<class TYPE> sal_Int32 OIdPropertyArrayUsageHelper< TYPE >::s_nRefCount = 0; @@ -138,7 +139,7 @@ namespace comphelper template<class TYPE> ::osl::Mutex OIdPropertyArrayUsageHelper< TYPE >::s_aMutex; -#endif MACOSX +#endif //------------------------------------------------------------------ template <class TYPE> OIdPropertyArrayUsageHelper<TYPE>::OIdPropertyArrayUsageHelper() -- cgit