diff --git a/xpcom/base/nsCOMPtr.h b/xpcom/base/nsCOMPtr.h index 4bc05d5f2702..3d9ae9729ed1 100644 --- a/xpcom/base/nsCOMPtr.h +++ b/xpcom/base/nsCOMPtr.h @@ -236,7 +236,7 @@ Update: ramiro is working on getting these into the configuration system. */ -#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) +#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) && !defined(SOLARIS) #define NSCAP_NO_MEMBER_USING_DECLARATIONS #if (defined(LINUX) || defined(__bsdi__)) && (__GNUC_MINOR__ <= 7) diff --git a/xpcom/glue/nsCOMPtr.h b/xpcom/glue/nsCOMPtr.h index 4bc05d5f2702..3d9ae9729ed1 100644 --- a/xpcom/glue/nsCOMPtr.h +++ b/xpcom/glue/nsCOMPtr.h @@ -236,7 +236,7 @@ Update: ramiro is working on getting these into the configuration system. */ -#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) +#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) && !defined(SOLARIS) #define NSCAP_NO_MEMBER_USING_DECLARATIONS #if (defined(LINUX) || defined(__bsdi__)) && (__GNUC_MINOR__ <= 7) diff --git a/xpcom/public/nsCOMPtr.h b/xpcom/public/nsCOMPtr.h index 4bc05d5f2702..3d9ae9729ed1 100644 --- a/xpcom/public/nsCOMPtr.h +++ b/xpcom/public/nsCOMPtr.h @@ -236,7 +236,7 @@ Update: ramiro is working on getting these into the configuration system. */ -#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) +#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) && !defined(SOLARIS) #define NSCAP_NO_MEMBER_USING_DECLARATIONS #if (defined(LINUX) || defined(__bsdi__)) && (__GNUC_MINOR__ <= 7)