diff --git a/cppuhelper/inc/cppuhelper/implbase3.hxx b/cppuhelper/inc/cppuhelper/implbase3.hxx index 601f12e690c5..9436000f97cd 100644 --- a/cppuhelper/inc/cppuhelper/implbase3.hxx +++ b/cppuhelper/inc/cppuhelper/implbase3.hxx @@ -2,9 +2,9 @@ * * $RCSfile: implbase3.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ + * last change: $Author: hr $ $Date: 2003-07-16 17:50:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,7 +61,8 @@ #ifndef _CPPUHELPER_IMPLBASE3_HXX_ #define _CPPUHELPER_IMPLBASE3_HXX_ -#ifdef MACOSX /* use old impl helpers for macosx */ +#if defined( MACOSX ) && ( __GNUC__ < 3 ) +/* use old impl helpers for macosx */ #define __IFC3 Ifc1, Ifc2, Ifc3 #define __CLASS_IFC3 class Ifc1, class Ifc2, class Ifc3 diff --git a/cppuhelper/inc/cppuhelper/implbase4.hxx b/cppuhelper/inc/cppuhelper/implbase4.hxx index ddc535da1e33..59c056b85d3a 100644 --- a/cppuhelper/inc/cppuhelper/implbase4.hxx +++ b/cppuhelper/inc/cppuhelper/implbase4.hxx @@ -2,9 +2,9 @@ * * $RCSfile: implbase4.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ + * last change: $Author: hr $ $Date: 2003-07-16 17:50:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,7 +61,8 @@ #ifndef _CPPUHELPER_IMPLBASE4_HXX_ #define _CPPUHELPER_IMPLBASE4_HXX_ -#ifdef MACOSX /* use old impl helpers for macosx */ +#if defined( MACOSX ) && ( __GNUC__ < 3 ) +/* use old impl helpers for macosx */ #define __IFC4 Ifc1, Ifc2, Ifc3, Ifc4 #define __CLASS_IFC4 class Ifc1, class Ifc2, class Ifc3, class Ifc4 diff --git a/cppuhelper/inc/cppuhelper/implbase5.hxx b/cppuhelper/inc/cppuhelper/implbase5.hxx index e10f6f57c0ec..7e5203585824 100644 --- a/cppuhelper/inc/cppuhelper/implbase5.hxx +++ b/cppuhelper/inc/cppuhelper/implbase5.hxx @@ -2,9 +2,9 @@ * * $RCSfile: implbase5.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ + * last change: $Author: hr $ $Date: 2003-07-16 17:50:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,7 +61,8 @@ #ifndef _CPPUHELPER_IMPLBASE5_HXX_ #define _CPPUHELPER_IMPLBASE5_HXX_ -#ifdef MACOSX /* use old impl helpers for macosx */ +#if defined( MACOSX ) && ( __GNUC__ < 3 ) +/* use old impl helpers for macosx */ #define __IFC5 Ifc1, Ifc2, Ifc3, Ifc4, Ifc5 #define __CLASS_IFC5 class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5