X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnmem_xml.h;h=fdfe3561d67e5a11fdefb72534352355b0341347;hb=6f7757087a49db5fb3fa4f3b12b8b67ebbbe3aa3;hp=6d282c0cc261cea8c9a7fe3fa9d8f7dae68d33e4;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431;p=yaz-moved-to-github.git 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