X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_xml_include.c;h=a61455c7826b5ba2c76250f1b9fa8f3a446fcb80;hb=eaeb5111f809df907a53890b797c854ecacfdf21;hp=10596cc8521da11632e50ef6a6dc73062ccdd211;hpb=d0e351c12fff564d876958e860338d43716dc269;p=yaz-moved-to-github.git diff --git a/test/test_xml_include.c b/test/test_xml_include.c index 10596cc..a61455c 100644 --- a/test/test_xml_include.c +++ b/test/test_xml_include.c @@ -1,5 +1,5 @@ /* 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 @@ -15,6 +15,7 @@ static void tst_xml_include(void) { +#if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; @@ -59,6 +60,7 @@ static void tst_xml_include(void) } } xmlFreeDoc(doc); +#endif }