From 99a358f0c0e10ceb7fba37378329c5f968bf78e4 Mon Sep 17 00:00:00 2001 From: James Clark Date: Sun, 4 Jul 1999 13:18:00 +0000 Subject: [PATCH] Make it compile without XML_DTD --- expat/xmlparse/xmlparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index 9d629403..cb773dab 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -2590,7 +2590,9 @@ doProlog(XML_Parser parser, case XML_TOK_COMMENT: case XML_TOK_BOM: case XML_TOK_XML_DECL: +#ifdef XML_DTD case XML_TOK_IGNORE_SECT: +#endif /* XML_DTD */ case XML_TOK_PARAM_ENTITY_REF: break; default: