summaryrefslogtreecommitdiff
path: root/runtest.c
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2012-05-25 04:03:35 +0000
committerAron Xu <aron@debian.org>2012-05-25 04:03:35 +0000
commitd7372d053bbd1d58216fbb04d1771ffa4cc3e624 (patch)
tree62b661911406394bbeaca8951d660bb6d8aac0de /runtest.c
parent2d1849b271fa8697b88d07ba7d78dc83591e1363 (diff)
downloadlibxml2-d7372d053bbd1d58216fbb04d1771ffa4cc3e624.tar.gz
Imported Upstream version 2.8.0+dfsg1upstream/2.8.0+dfsg1
Diffstat (limited to 'runtest.c')
-rw-r--r--runtest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtest.c b/runtest.c
index fa925c1..dd74c88 100644
--- a/runtest.c
+++ b/runtest.c
@@ -194,8 +194,11 @@ static void globfree(glob_t *pglob) {
free(pglob->gl_pathv[i]);
}
}
+
+#if !defined(__MINGW32__)
#define vsnprintf _vsnprintf
#define snprintf _snprintf
+#endif
#else
#include <glob.h>
#endif