fixing btek bustage

This commit is contained in:
bryner%brianryner.com 2004-08-29 04:18:27 +00:00
parent d082d2bf5e
commit ee9eb14e72
2 changed files with 16 additions and 2 deletions

View File

@ -133,10 +133,17 @@ enum nsAttributeChangeType {
* presentation context, the style manager, the style set and the root
* frame.
*/
class nsIPresShell : public nsISupports {
// hack to make egcs / gcc 2.95.2 happy
class nsIPresShell_base : public nsISupports
{
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRESSHELL_IID)
};
class nsIPresShell : public nsIPresShell_base
{
public:
NS_IMETHOD Init(nsIDocument* aDocument,
nsPresContext* aPresContext,
nsIViewManager* aViewManager,

View File

@ -133,10 +133,17 @@ enum nsAttributeChangeType {
* presentation context, the style manager, the style set and the root
* frame.
*/
class nsIPresShell : public nsISupports {
// hack to make egcs / gcc 2.95.2 happy
class nsIPresShell_base : public nsISupports
{
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRESSHELL_IID)
};
class nsIPresShell : public nsIPresShell_base
{
public:
NS_IMETHOD Init(nsIDocument* aDocument,
nsPresContext* aPresContext,
nsIViewManager* aViewManager,