From 65d293413952f31a6aae1ae88c36bbdbdd639cee Mon Sep 17 00:00:00 2001 From: "cvshook%sicking.cc" Date: Mon, 15 May 2006 08:07:35 +0000 Subject: [PATCH] More bustage fix for gcc 2.95.2 git-svn-id: svn://10.0.0.236/trunk@196504 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/public/nsIContent.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mozilla/content/base/public/nsIContent.h b/mozilla/content/base/public/nsIContent.h index 7d04a717604..93a37dad5b2 100644 --- a/mozilla/content/base/public/nsIContent.h +++ b/mozilla/content/base/public/nsIContent.h @@ -63,14 +63,18 @@ class nsAttrName; { 0x823ca304, 0x2dc4, 0x4b06, \ { 0x98, 0x60, 0x1a, 0x21, 0x45, 0xb9, 0xf6, 0x1c } } +// hack to make egcs / gcc 2.95.2 happy +class nsIContent_base : public nsINode { +public: + NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENT_IID) +}; + /** * A node of content in a document's content model. This interface * is supported by all content objects. */ -class nsIContent : public nsINode { +class nsIContent : public nsIContent_base { public: - NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENT_IID) - #ifdef MOZILLA_INTERNAL_API // If you're using the external API, the only thing you can know about // nsIContent is that it exists with an IID