Define getdtablesize() for android
getdtablesize() has been removed from headers since android-21. Its value was 1024 in previous android api levels
This commit is contained in:
parent
0c8a8541c6
commit
1662c624ef
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ extern "C" {
|
|||
#define LWS_VISIBLE
|
||||
#endif
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
#define getdtablesize() 1024
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef LWS_USE_LIBEV
|
||||
|
|
Loading…
Add table
Reference in a new issue