diff --git a/kernel/compat.h b/kernel/compat.h index 78c519bd..d3e2aedb 100644 --- a/kernel/compat.h +++ b/kernel/compat.h @@ -84,4 +84,8 @@ extern int _compat_unlink( #define HAS_VOID_RELEASE #endif +#ifdef __bvec_iter_bvec +#define HAS_BVEC_ITER +#endif + #endif /* _MARS_COMPAT */ diff --git a/kernel/mars_if.c b/kernel/mars_if.c index f45cf16d..36d13ffa 100644 --- a/kernel/mars_if.c +++ b/kernel/mars_if.c @@ -62,9 +62,6 @@ #include "lib_limiter.h" // remove_this -#ifdef __bvec_iter_bvec -#define HAS_BVEC_ITER -#endif /* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 and 8ae126660fddbeebb9251a174e6fa45b6ad8f932 */ #ifndef bio_io_error #define HAS_BI_ERROR