mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ssize_t needs help on windows
ssize_t is needed, but absent in Windows. This patch typedefs it to an int in that case as recommended by Tobias. Signed-off-by: Andy Green <andy@warmcat.com> Signed-off-by: David Brooks <dave@bcs.co.nz> Signed-off-by: Tobias Maier <tobias.maier@netplace.com> Reported-by: Rich Gossweiler <rich.gossweiler@gmail.com>
This commit is contained in:
parent
2c60d9584e
commit
06fbcee703
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ extern "C" {
|
|||
|
||||
#define strcasecmp stricmp
|
||||
|
||||
typedef int ssize_t;
|
||||
|
||||
#ifdef LWS_DLL
|
||||
#ifdef LWS_INTERNAL
|
||||
#define LWS_EXTERN extern __declspec(dllexport)
|
||||
|
|
Loading…
Add table
Reference in a new issue