Include gperftools/tcmalloc.h instead of google/tcmalloc.h
Former-commit-id: ee32ed045cb94334773fc12d7b78a6a4ae29f184
This commit is contained in:
parent
ae7a09c508
commit
af217ab261
@ -42,7 +42,7 @@
|
|||||||
#define USE_MALLOC_CLASS 1
|
#define USE_MALLOC_CLASS 1
|
||||||
#elif defined(USE_TCMALLOC)
|
#elif defined(USE_TCMALLOC)
|
||||||
#define ZMALLOC_LIB ("tcmalloc-" __xstr(TC_VERSION_MAJOR) "." __xstr(TC_VERSION_MINOR))
|
#define ZMALLOC_LIB ("tcmalloc-" __xstr(TC_VERSION_MAJOR) "." __xstr(TC_VERSION_MINOR))
|
||||||
#include <google/tcmalloc.h>
|
#include <gperftools/tcmalloc.h>
|
||||||
#if (TC_VERSION_MAJOR == 1 && TC_VERSION_MINOR >= 6) || (TC_VERSION_MAJOR > 1)
|
#if (TC_VERSION_MAJOR == 1 && TC_VERSION_MINOR >= 6) || (TC_VERSION_MAJOR > 1)
|
||||||
#define HAVE_MALLOC_SIZE 1
|
#define HAVE_MALLOC_SIZE 1
|
||||||
#define zmalloc_size(p) tc_malloc_size(p)
|
#define zmalloc_size(p) tc_malloc_size(p)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user