ares/rust/ares_pma/c-src/btest-overrides.h

19 lines
487 B
C
Raw Normal View History

#ifndef __BTEST_OVERRIDES_H__
#define __BTEST_OVERRIDES_H__
/*
For overriding constants defined in btree.h and btree.c in tests. This isn't
very flexible though because these can't be overriden on per-test basis. Maybe
there is some other solution if necessary
*/
#undef BT_DAT_MAXKEYS
#define BT_DAT_MAXKEYS 10
2024-03-13 22:20:33 +03:00
/* maxdepth expanded because when BT_DAT_MAXKEYS is shrunk, the depth of the
btree can grow higher than usual */
#undef BT_MAXDEPTH
#define BT_MAXDEPTH 10
#endif