1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-09 04:58:16 +03:00

win32: Fix build with VS2013

Should fix #420.
This commit is contained in:
Nick Wellnhofer 2022-10-11 13:00:33 +02:00
parent e2bae1bc04
commit 5bfaf23059

View File

@ -9,9 +9,13 @@
#define HAVE_STDINT_H
#endif
#if defined(_MSC_VER) && _MSC_VER < 1900
#if defined(_MSC_VER)
#if _MSC_VER < 1900
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif
#if _MSC_VER < 1500
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif
#endif
#endif /* __LIBXML_WIN32_CONFIG__ */