X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fnmem_xml.h;h=fdfe3561d67e5a11fdefb72534352355b0341347;hp=6d282c0cc261cea8c9a7fe3fa9d8f7dae68d33e4;hb=3fa6bf34c5496f69a63469a3184251d38758c85d;hpb=75c9defe1c9ffb8efe58507dc994a56e6fd0409b diff --git a/include/yaz/nmem_xml.h b/include/yaz/nmem_xml.h index 6d282c0..fdfe356 100644 --- a/include/yaz/nmem_xml.h +++ b/include/yaz/nmem_xml.h @@ -38,8 +38,10 @@ YAZ_BEGIN_CDECL +#if YAZ_HAVE_XML2 /** \brief copies TEXT Libxml2 node data to NMEM */ YAZ_EXPORT char *nmem_text_node_cdata(const xmlNode *ptr, NMEM nmem); +#endif YAZ_END_CDECL