bio: move compat check

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

View File

@ -70,4 +70,9 @@ extern int _compat_unlink(
#define HAS_BVEC_ITER
#endif
/* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 */
#ifndef bio_io_error
#define HAS_BI_ERROR
#endif
#endif /* _MARS_COMPAT */

View File

@ -42,10 +42,6 @@
#include "mars_bio.h"
// remove_this
/* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 */
#ifndef bio_io_error
#define HAS_BI_ERROR
#endif
/* adapt to 4e1b2d52a80d79296a5d899d73249748dea71a53 and many others */
#ifdef bio_op