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
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git]
/
test
/
test_xml_include.c
diff --git
a/test/test_xml_include.c
b/test/test_xml_include.c
index
10596cc
..
a61455c
100644
(file)
--- a/
test/test_xml_include.c
+++ b/
test/test_xml_include.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
@@
-15,6
+15,7
@@
static void tst_xml_include(void)
{
static void tst_xml_include(void)
{
+#if YAZ_HAVE_XML2
const char *srcdir = getenv("srcdir");
xmlDocPtr doc;
xmlNodePtr node;
const char *srcdir = getenv("srcdir");
xmlDocPtr doc;
xmlNodePtr node;
@@
-59,6
+60,7
@@
static void tst_xml_include(void)
}
}
xmlFreeDoc(doc);
}
}
xmlFreeDoc(doc);
+#endif
}
}