From: Adam Dickmeiss Date: Thu, 1 Mar 2012 14:41:34 +0000 (+0100) Subject: record_conv: 2nd attempt compile wo Libxml2 X-Git-Tag: v4.2.28~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d71e0f5445235ed25ab633d73a26bb4f01a0885f;p=yaz-moved-to-github.git record_conv: 2nd attempt compile wo Libxml2 --- diff --git a/include/yaz/record_conv.h b/include/yaz/record_conv.h index ad6dd9e..aab75a1 100644 --- a/include/yaz/record_conv.h +++ b/include/yaz/record_conv.h @@ -132,6 +132,7 @@ void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path); \param type info */ +#if YAZ_HAVE_XML2 /** record conversion type */ struct yaz_record_conv_type { /** \brief internal; no need to set */ @@ -152,6 +153,7 @@ YAZ_EXPORT void yaz_record_conv_add_type(yaz_record_conv_t p, struct yaz_record_conv_type *type); +#endif YAZ_END_CDECL #endif