1
0
Fork 0
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:
James Chen 2013-12-13 13:50:34 +08:00
parent 3411c82cae
commit 815f36dc18

View file

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