mirror of https://github.com/schoebel/mars
bio: move compat check
This commit is contained in:
parent
d1dcca213f
commit
0244c27a5d
|
@ -75,4 +75,9 @@ extern int _compat_unlink(
|
||||||
#define HAS_BI_ERROR
|
#define HAS_BI_ERROR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* adapt to 4e1b2d52a80d79296a5d899d73249748dea71a53 and many others */
|
||||||
|
#ifdef bio_op
|
||||||
|
#define HAS_NEW_BIO_OP
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _MARS_COMPAT */
|
#endif /* _MARS_COMPAT */
|
||||||
|
|
|
@ -41,14 +41,7 @@
|
||||||
#include "lib_mapfree.h"
|
#include "lib_mapfree.h"
|
||||||
|
|
||||||
#include "mars_bio.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;
|
int bio_nr_requests = 1024;
|
||||||
|
|
||||||
static struct timing_stats timings[2] = {};
|
static struct timing_stats timings[2] = {};
|
||||||
|
|
Loading…
Reference in New Issue