Patch #2 to get solaris building (50876). code=harishd, r=jst,mcafee, a=heikki

git-svn-id: svn://10.0.0.236/trunk@77787 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com
2000-08-31 22:08:07 +00:00
parent 68d55748ea
commit f3e713b6d5
6 changed files with 12 additions and 50 deletions

View File

@@ -23,6 +23,7 @@
#include <ctype.h> // for isdigit()
#include "CNavDTD.h"
#include "nsXIFDTD.h"
#include "nsParserCIID.h"
#include "nsIParser.h"
#include "nsIHTMLContentSink.h"
@@ -32,21 +33,6 @@
extern "C" void NS_SetupRegistry();
// This is copied from the header files so that we don't accidentally
// include nsHTMLTokens.h and get all the inline junk that confuses
// gcc-2.7.2.3.
inline nsresult NS_NewXIFDTD(nsIDTD** aInstancePtrResult)
{
NS_DEFINE_CID(kXIFDTDCID, NS_XIF_DTD_CID);
return nsComponentManager::CreateInstance(kXIFDTDCID,
nsnull,
NS_GET_IID(nsIDTD),
(void**)aInstancePtrResult);
}
#ifdef XP_PC
#define PARSER_DLL "gkparser.dll"
#endif