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
For Libxml2 and friends, YAZ defines YAZ_HAVE_{XML2,XSLT,EXSLT) in
[yaz-moved-to-github.git]
/
src
/
nfaxml.c
diff --git
a/src/nfaxml.c
b/src/nfaxml.c
index
ce7fa19
..
4bd2c4e
100644
(file)
--- a/
src/nfaxml.c
+++ b/
src/nfaxml.c
@@
-1,7
+1,7
@@
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
*
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: nfaxml.c,v 1.4 2006-07-06 08:26:11 adam Exp $
+ * $Id: nfaxml.c,v 1.6 2006-07-06 10:17:53 adam Exp $
*/
/**
*/
/**
@@
-10,7
+10,7
@@
*
*/
*
*/
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
#include <string.h>
#include <string.h>
@@
-27,9
+27,9
@@
/** \brief Parse the NFA from a XML document
*/
/** \brief Parse the NFA from a XML document
*/
-yaz_nfa *yaz_nfa_parse_xml_doc(void *xmlDocPtr)
+yaz_nfa *yaz_nfa_parse_xml_doc(void *p)
{
{
- xmlDocPtr doc = (xmlDocPtr) xmlDocPtr;
+ xmlDocPtr doc = (xmlDocPtr) p;
if (!doc)
return 0;
if (!doc)
return 0;
@@
-75,7
+75,7
@@
yaz_nfa *yaz_nfa_parse_xml_file(const char *filepath) {
-#endif /* HAVE_XML2 */
+#endif /* YAZ_HAVE_XML2 */
/*
/*