X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Flibxml2_error.c;h=725b7cf3d8c2af9f30a19debddbe3f692ec9896d;hb=951fce6496397a6d8c11e15ab5b60b46abc43467;hp=3241a63956ef192daa008372b807f1f84b431b1d;hpb=27481680fb1a69456e789e5bc8e1ec914337287d;p=yaz-moved-to-github.git diff --git a/src/libxml2_error.c b/src/libxml2_error.c index 3241a63..725b7cf 100644 --- a/src/libxml2_error.c +++ b/src/libxml2_error.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 2006, Index Data ApS + * Copyright (C) 2007, Index Data ApS * See the file LICENSE for details. * - * $Id: libxml2_error.c,v 1.1 2006-05-07 17:45:41 adam Exp $ + * $Id: libxml2_error.c,v 1.3 2007-01-03 08:42:15 adam Exp $ */ /** * \file libxml2_error.c @@ -14,11 +14,11 @@ #include #include -#if HAVE_XML2 +#if YAZ_HAVE_XML2 #include #endif -#if HAVE_XSLT +#if YAZ_HAVE_XSLT #include #endif @@ -44,10 +44,10 @@ static void proxy_xml_error_handler(void *ctx, const char *fmt, ...) int libxml2_error_to_yazlog(int level, const char *lead_msg) { libxml2_error_level = level; -#if HAVE_XSLT +#if YAZ_HAVE_XSLT xsltSetGenericErrorFunc((void *) "XSLT", proxy_xml_error_handler); #endif -#if HAVE_XML2 +#if YAZ_HAVE_XML2 xmlSetGenericErrorFunc((void *) "XML", proxy_xml_error_handler); return 0; #else