if: move compat check

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-20 11:30:21 +01:00 committed by Thomas Schoebel-Theuer
parent f11b7d680c
commit 873ae4de56
2 changed files with 4 additions and 3 deletions

View File

@ -84,4 +84,8 @@ extern int _compat_unlink(
#define HAS_VOID_RELEASE #define HAS_VOID_RELEASE
#endif #endif
#ifdef __bvec_iter_bvec
#define HAS_BVEC_ITER
#endif
#endif /* _MARS_COMPAT */ #endif /* _MARS_COMPAT */

View File

@ -62,9 +62,6 @@
#include "lib_limiter.h" #include "lib_limiter.h"
// remove_this // remove_this
#ifdef __bvec_iter_bvec
#define HAS_BVEC_ITER
#endif
/* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 and 8ae126660fddbeebb9251a174e6fa45b6ad8f932 */ /* adaptation to 4246a0b63bd8f56a1469b12eafeb875b1041a451 and 8ae126660fddbeebb9251a174e6fa45b6ad8f932 */
#ifndef bio_io_error #ifndef bio_io_error
#define HAS_BI_ERROR #define HAS_BI_ERROR