projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented Generic select hook for ZOOM (bug #803). This is achieved with
[yaz-moved-to-github.git]
/
src
/
libxml2_error.c
diff --git
a/src/libxml2_error.c
b/src/libxml2_error.c
index
3241a63
..
725b7cf
100644
(file)
--- 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.
*
* 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
*/
/**
* \file libxml2_error.c
@@
-14,11
+14,11
@@
#include <yaz/log.h>
#include <yaz/libxml2_error.h>
#include <yaz/log.h>
#include <yaz/libxml2_error.h>
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
#include <libxml/xmlerror.h>
#endif
#include <libxml/xmlerror.h>
#endif
-#if HAVE_XSLT
+#if YAZ_HAVE_XSLT
#include <libxslt/xsltutils.h>
#endif
#include <libxslt/xsltutils.h>
#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;
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
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
xmlSetGenericErrorFunc((void *) "XML", proxy_xml_error_handler);
return 0;
#else