diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-05-23 15:52:45 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-05-23 15:52:45 +0800 |
commit | 22030ef8888579b9ae8d8a63367e31b201eef4b5 (patch) | |
tree | c55097a4ee98e215774d8b57912b5c19af8d43e1 /runtest.c | |
parent | ee8f1d4cda8dc1a6f2c515fe234f7bc89cdc9f80 (diff) | |
download | android_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 'runtest.c')
-rw-r--r-- | runtest.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -194,6 +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 |