MSVC from 2015 up has vsnprintf

This commit is contained in:
OndraCo 2016-05-05 13:56:07 +02:00 committed by Andy Green
parent 6a81b08dc2
commit a709cbb2f5

View file

@ -87,7 +87,7 @@
#define __func__ __FUNCTION__
#endif
#if defined(_MSC_VER) || defined(_WIN32_WCE)
#if (defined(_MSC_VER) && _MSC_VER < 1900) || defined(_WIN32_WCE)
#define vsnprintf _vsnprintf
#else
#ifdef LWS_HAVE__VSNPRINTF