net: move compat check

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-20 11:38:07 +01:00 committed by Thomas Schoebel-Theuer
parent 9b55c64bb1
commit 764399d262
2 changed files with 6 additions and 4 deletions

View File

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

View File

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