1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Makes ssize_t windows typedef more appropriate. It should be defined as SSIZE_T.

This commit is contained in:
James Chen 2013-12-13 10:57:38 +08:00
parent 8ff88e9df0
commit 3411c82cae

View file

@ -35,6 +35,7 @@ extern "C" {
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stddef.h>
#include <BaseTsd.h>
#include "websock-w32.h"
#include "gettimeofday.h"
@ -42,7 +43,7 @@ extern "C" {
#define strcasecmp stricmp
#define getdtablesize() 30000
typedef int ssize_t;
typedef SSIZE_T ssize_t;
#define LWS_VISIBLE