Commit 48ddbe93 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

libxml2: fix snprintf workaround

MSVC2015 is a team player!
parent 51c49664
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
#cmakedefine _WINSOCKAPI_ #cmakedefine _WINSOCKAPI_
/* Win32 Std C name mangling work-around */ /* Win32 Std C name mangling work-around */
#if defined(_MSC_VER) #if defined(_MSC_VER) && !defined(HAVE_SNPRINTF)
# define snprintf _snprintf # define snprintf _snprintf
#endif #endif
...@@ -258,6 +258,6 @@ ...@@ -258,6 +258,6 @@
/* #undef ss_family */ /* #undef ss_family */
/* Win32 Std C name mangling work-around */ /* Win32 Std C name mangling work-around */
#if defined(_MSC_VER) && (_MSC_VER < 1500) #if defined(_MSC_VER) && (_MSC_VER < 1500) && !defined(HAVE_VSNPRINTF)
# define vsnprintf _vsnprintf # define vsnprintf _vsnprintf
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment