enabled percpu_arena settings on macOs.

follow-up on #2280
This commit is contained in:
David CARLIER 2022-06-11 07:04:26 +01:00 committed by Qi Wang
parent 58478412be
commit 4e12d21c8d

View File

@ -215,7 +215,7 @@ static const bool config_enable_cxx =
#endif
;
#if defined(_WIN32) || defined(JEMALLOC_HAVE_SCHED_GETCPU)
#if defined(_WIN32) || defined(__APPLE__) || defined(JEMALLOC_HAVE_SCHED_GETCPU)
/* Currently percpu_arena depends on sched_getcpu. */
#define JEMALLOC_PERCPU_ARENA
#endif