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:
parent
8ff88e9df0
commit
3411c82cae
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue