windows snprintf is _snprintf
https://github.com/warmcat/libwebsockets/issues/411#issuecomment-207290650
This commit is contained in:
parent
1458e7079c
commit
c06ea5c7d7
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ struct sockaddr_in;
|
|||
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
|
||||
#define LWS_O_RDONLY _O_RDONLY
|
||||
|
||||
#define snprintf _snprintf
|
||||
|
||||
#else /* NOT WIN32 */
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue