windows: remove preprocessor business for [v]snprintf

https://github.com/warmcat/libwebsockets/issues/731
This commit is contained in:
Andy Green 2016-12-28 15:23:34 +08:00
parent 85f0c283dd
commit 714f66f5b7

View file

@ -132,17 +132,9 @@ char *ets_strchr(const char *s, int c);
#define __func__ __FUNCTION__
#endif
#if (defined(_MSC_VER) && _MSC_VER < 1900) || defined(_WIN32_WCE)
#define vsnprintf _vsnprintf
#else
#ifdef LWS_HAVE__VSNPRINTF
#define vsnprintf _vsnprintf
#endif
#endif
#ifdef LWS_HAVE__SNPRINTF
#define lws_snprintf _snprintf
#endif
/* we don't have an implementation for this on windows... */
int kill(int pid, int sig);