aboutsummaryrefslogtreecommitdiffstats
path: root/runxmlconf.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-05-23 15:52:45 +0800
committerDaniel Veillard <veillard@redhat.com>2012-05-23 15:52:45 +0800
commit22030ef8888579b9ae8d8a63367e31b201eef4b5 (patch)
treec55097a4ee98e215774d8b57912b5c19af8d43e1 /runxmlconf.c
parentee8f1d4cda8dc1a6f2c515fe234f7bc89cdc9f80 (diff)
downloadandroid_external_libxml2-22030ef8888579b9ae8d8a63367e31b201eef4b5.tar.gz
android_external_libxml2-22030ef8888579b9ae8d8a63367e31b201eef4b5.tar.bz2
android_external_libxml2-22030ef8888579b9ae8d8a63367e31b201eef4b5.zip
Restore code for Windows compilation
Try to keep as close to rc1 but still allow the change from Roumen for mingw
Diffstat (limited to 'runxmlconf.c')
-rw-r--r--runxmlconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runxmlconf.c b/runxmlconf.c
index a50021e8..52d50d77 100644
--- a/runxmlconf.c
+++ b/runxmlconf.c
@@ -37,6 +37,10 @@ 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 */