mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
Darwin malloc_size override support proposal.
Darwin has similar api than Linux/FreeBSD's malloc_usable_size.
This commit is contained in:
@@ -1056,6 +1056,9 @@ AC_CHECK_FUNC([memalign],
|
||||
AC_CHECK_FUNC([valloc],
|
||||
[AC_DEFINE([JEMALLOC_OVERRIDE_VALLOC], [ ])
|
||||
public_syms="${public_syms} valloc"])
|
||||
AC_CHECK_FUNC([malloc_size],
|
||||
[AC_DEFINE([JEMALLOC_HAVE_MALLOC_SIZE], [ ])
|
||||
public_syms="${public_syms} malloc_size"])
|
||||
|
||||
dnl Check for allocator-related functions that should be wrapped.
|
||||
wrap_syms=
|
||||
|
||||
Reference in New Issue
Block a user