summaryrefslogtreecommitdiff
path: root/runxmlconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'runxmlconf.c')
-rw-r--r--runxmlconf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/runxmlconf.c b/runxmlconf.c
index 52d50d7..cef20f4 100644
--- a/runxmlconf.c
+++ b/runxmlconf.c
@@ -6,11 +6,8 @@
* daniel@veillard.com
*/
-#ifdef HAVE_CONFIG_H
#include "libxml.h"
-#else
#include <stdio.h>
-#endif
#ifdef LIBXML_XPATH_ENABLED
@@ -37,10 +34,6 @@ static int verbose = 0;
#define NB_EXPECTED_ERRORS 15
-#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
-#define vsnprintf _vsnprintf
-#define snprintf _snprintf
-#endif
const char *skipped_tests[] = {
/* http://lists.w3.org/Archives/Public/public-xml-testsuite/2008Jul/0000.html */
@@ -390,7 +383,7 @@ xmlconfTestItem(xmlDocPtr doc, xmlNodePtr cur) {
if (xmlStrEqual(type, BAD_CAST "not-wf")) {
if (nstest == 0)
xmlconfTestNotWF((char *) id, (char *) filename, options);
- else
+ else
xmlconfTestNotNSWF((char *) id, (char *) filename, options);
} else if (xmlStrEqual(type, BAD_CAST "valid")) {
options |= XML_PARSE_DTDVALID;