[PATCH] Fix malloc_usable_size definition
Jason Evans
jasone at canonware.com
Tue Oct 9 16:27:32 PDT 2012
On Oct 9, 2012, at 10:16 AM, Jason Evans wrote:
> FreeBSD's malloc_usable_size() uses (const void *ptr) as its argument, so I'd like to get a fix in for this that doesn't require patching jemalloc for FreeBSD.
I committed a fix that removes the const only for Linux:
http://www.canonware.com/cgi-bin/gitweb.cgi?p=jemalloc.git;a=commitdiff;h=247d1248478561c669a85d831e9758089f93a076
Let me know if this doesn't do the right thing for Android.
Thanks,
Jason
More information about the jemalloc-discuss
mailing list