mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Adds macro __SIZE_T to check whether it was defined.
Signed-off-by: James Chen <jianhua.chen@cocos2d-x.org>
This commit is contained in:
parent
3411c82cae
commit
815f36dc18
1 changed files with 5 additions and 0 deletions
|
@ -43,8 +43,13 @@ extern "C" {
|
|||
#define strcasecmp stricmp
|
||||
#define getdtablesize() 30000
|
||||
|
||||
#ifndef __SSIZE_T
|
||||
#define __SSIZE_T
|
||||
|
||||
typedef SSIZE_T ssize_t;
|
||||
|
||||
#endif // __SSIZE_T
|
||||
|
||||
#define LWS_VISIBLE
|
||||
|
||||
#ifdef LWS_DLL
|
||||
|
|
Loading…
Add table
Reference in a new issue