Omit definitions of xmlNode and xmlDocPtr if YAZ_HAVE_XML2 is unset.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 16 Oct 2008 08:36:24 +0000 (10:36 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 16 Oct 2008 08:36:24 +0000 (10:36 +0200)
commit3fa6bf34c5496f69a63469a3184251d38758c85d
treedb90ad774cc6b1da3da24dd944711728b8ebd0f2
parent75c9defe1c9ffb8efe58507dc994a56e6fd0409b
Omit definitions of xmlNode and xmlDocPtr if YAZ_HAVE_XML2 is unset.

When YAZ is compiled without Libxml2 support (YAZ_HAVE_XML2 is unset),
the types xmlNode and xmlDocPtr are no longer defined in xmltypes.h.
Problem was that these dummy definitions could clash with other apps that
used Libxml2 anyway.
include/yaz/ccl_xml.h
include/yaz/marcdisp.h
include/yaz/nmem_xml.h
include/yaz/record_conv.h
include/yaz/retrieval.h
include/yaz/xmlquery.h
include/yaz/xmltypes.h
src/cclxmlconfig.c
src/libxml2_error.c
src/marc_read_xml.c
src/marcdisp.c