include jemalloc.h
This commit is contained in:
parent
45690da3dc
commit
f6d2502896
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 realloc(ptr,size) tc_realloc(ptr,size)
|
||||||
#define free(ptr) tc_free(ptr)
|
#define free(ptr) tc_free(ptr)
|
||||||
#elif defined(USE_JEMALLOC)
|
#elif defined(USE_JEMALLOC)
|
||||||
|
#include <jemalloc/jemalloc.h>
|
||||||
#define malloc(size) je_malloc(size)
|
#define malloc(size) je_malloc(size)
|
||||||
#define calloc(count,size) je_calloc(count,size)
|
#define calloc(count,size) je_calloc(count,size)
|
||||||
#define realloc(ptr,size) je_realloc(ptr,size)
|
#define realloc(ptr,size) je_realloc(ptr,size)
|
||||||
|
|
Loading…
Reference in a new issue