bio: move compat check

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-20 11:28:11 +01:00 committed by Thomas Schoebel-Theuer
parent d1dcca213f
commit 0244c27a5d
2 changed files with 5 additions and 7 deletions

View File

@ -75,4 +75,9 @@ extern int _compat_unlink(
#define HAS_BI_ERROR
#endif
/* adapt to 4e1b2d52a80d79296a5d899d73249748dea71a53 and many others */
#ifdef bio_op
#define HAS_NEW_BIO_OP
#endif
#endif /* _MARS_COMPAT */

View File

@ -41,14 +41,7 @@
#include "lib_mapfree.h"
#include "mars_bio.h"
// remove_this
/* adapt to 4e1b2d52a80d79296a5d899d73249748dea71a53 and many others */
#ifdef bio_op
#define HAS_NEW_BIO_OP
#endif
// end_remove_this
int bio_nr_requests = 1024;
static struct timing_stats timings[2] = {};