mirror of https://github.com/schoebel/mars
net: move compat check
This commit is contained in:
parent
764399d262
commit
a8766f3016
|
@ -103,9 +103,15 @@ extern int _compat_unlink(
|
|||
#endif
|
||||
|
||||
/* for networking */
|
||||
#include <net/sock.h>
|
||||
|
||||
#ifndef TCP_MAX_REORDERING
|
||||
#define __HAS_IOV_ITER
|
||||
#endif
|
||||
|
||||
/* see eeb1bd5c40edb0e2fd925c8535e2fdebdbc5cef2 */
|
||||
#ifdef sk_net_refcnt
|
||||
#define __HAS_STRUCT_NET
|
||||
#endif
|
||||
|
||||
#endif /* _MARS_COMPAT */
|
||||
|
|
|
@ -45,15 +45,6 @@
|
|||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
// provisionary version detection
|
||||
|
||||
#ifdef sk_net_refcnt
|
||||
/* see eeb1bd5c40edb0e2fd925c8535e2fdebdbc5cef2 */
|
||||
#define __HAS_STRUCT_NET
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define USE_BUFFERING
|
||||
|
||||
/* Low-level network traffic
|
||||
|
|
Loading…
Reference in New Issue