Added #define for SOL_TCP to fix compilation error on iOS
This commit is contained in:
parent
25f834043e
commit
c0d26443ce
@ -41,6 +41,9 @@
|
||||
#include <net/if.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef SOL_TCP
|
||||
#define SOL_TCP 6
|
||||
#endif
|
||||
#ifndef TCP_KEEPIDLE
|
||||
#define TCP_KEEPIDLE TCP_KEEPALIVE
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user