mirror of https://github.com/schoebel/mars
net: move compat check
This commit is contained in:
parent
9b55c64bb1
commit
764399d262
|
@ -102,4 +102,10 @@ extern int _compat_unlink(
|
|||
#define HAS_NEW_BIO_OP
|
||||
#endif
|
||||
|
||||
/* for networking */
|
||||
|
||||
#ifndef TCP_MAX_REORDERING
|
||||
#define __HAS_IOV_ITER
|
||||
#endif
|
||||
|
||||
#endif /* _MARS_COMPAT */
|
||||
|
|
|
@ -47,10 +47,6 @@
|
|||
|
||||
// provisionary version detection
|
||||
|
||||
#ifndef TCP_MAX_REORDERING
|
||||
#define __HAS_IOV_ITER
|
||||
#endif
|
||||
|
||||
#ifdef sk_net_refcnt
|
||||
/* see eeb1bd5c40edb0e2fd925c8535e2fdebdbc5cef2 */
|
||||
#define __HAS_STRUCT_NET
|
||||
|
|
Loading…
Reference in New Issue