1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

Visual Studio 14 CTP defines snprintf()

Related to https://bugzilla.gnome.org/show_bug.cgi?id=737937
related changes for libxslt
This commit is contained in:
Daniel Veillard
2014-10-13 15:17:30 +08:00
parent ec39a33e02
commit 73e08bf7c3
2 changed files with 4 additions and 0 deletions

View File

@ -57,7 +57,9 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <winsock2.h>
#define gettimeofday(p1,p2)
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#endif /* _MS_VER */
#else /* WIN32 */
#if defined(HAVE_SYS_TIME_H)