summaryrefslogtreecommitdiff
path: root/runtest.c
diff options
context:
space:
mode:
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