bio: move compat check

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-20 11:19:11 +01:00 committed by Thomas Schoebel-Theuer
parent c21465b462
commit 3a397ac00e
2 changed files with 4 additions and 3 deletions

View File

@ -66,4 +66,8 @@ extern int _compat_unlink(
* This is a hell.
*/
#ifdef __bvec_iter_bvec
#define HAS_BVEC_ITER
#endif
#endif /* _MARS_COMPAT */

View File

@ -42,9 +42,6 @@
#include "mars_bio.h"
// remove_this
#ifdef __bvec_iter_bvec
#define HAS_BVEC_ITER
#endif
/* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 */
#ifndef bio_io_error
#define HAS_BI_ERROR