- xmlversion.h.in win32config.h win32/libxml2/*: applied
  Igor Zlatkovic patches for MSC compilation and added his
  updates
Daniel
diff --git a/include/win32config.h b/include/win32config.h
index ea2cd50..14c9e9e 100644
--- a/include/win32config.h
+++ b/include/win32config.h
@@ -88,5 +88,13 @@
 
 #include <direct.h>
 
-#define HAVE_SYS_STAT_H                                                         #define HAVE__STAT
+#define HAVE_SYS_STAT_H
+#define HAVE__STAT
+
+/* Microsoft's C runtime names all non-ANSI functions with a leading
+   underscore. Since functionality is still the same, they can be used. */
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+#endif /* _MSC_VER */