include jemalloc.h
This commit is contained in:
parent
eaa11d5380
commit
e8653eeb28
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ void zlibc_free(void *ptr) {
|
|||
#define realloc(ptr,size) tc_realloc(ptr,size)
|
||||
#define free(ptr) tc_free(ptr)
|
||||
#elif defined(USE_JEMALLOC)
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#define malloc(size) je_malloc(size)
|
||||
#define calloc(count,size) je_calloc(count,size)
|
||||
#define realloc(ptr,size) je_realloc(ptr,size)
|
||||
|
|
Loading…
Reference in a new issue