windows: remove preprocessor business for [v]snprintf
https://github.com/warmcat/libwebsockets/issues/731
This commit is contained in:
parent
85f0c283dd
commit
714f66f5b7
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue