windows snprintf is _snprintf

https://github.com/warmcat/libwebsockets/issues/411#issuecomment-207290650
This commit is contained in:
Meir Yanovich 2016-04-08 16:11:27 +08:00 committed by Andy Green
parent da77a6007d
commit efcf496b45

View file

@ -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>