diff --git a/test/unit/decay.c b/test/unit/decay.c index 4d172a54..fc8fabcf 100644 --- a/test/unit/decay.c +++ b/test/unit/decay.c @@ -1,6 +1,10 @@ #include "test/jemalloc_test.h" -const char *malloc_conf = "decay_time:1,lg_tcache_max:0"; +const char *malloc_conf = "decay_time:1" +#ifdef JEMALLOC_TCACHE + ",lg_tcache_max:0" +#endif + ; static nstime_monotonic_t *nstime_monotonic_orig; static nstime_update_t *nstime_update_orig;