MSVC from 2015 up has vsnprintf

This commit is contained in:
OndraCo 2016-05-06 07:50:44 +08:00 committed by Andy Green
parent f0a16ce17b
commit bd462c0b46

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