diff --git a/db/malloc_stats.cc b/db/malloc_stats.cc index bcee5c3fbf..1dfe0d55b4 100644 --- a/db/malloc_stats.cc +++ b/db/malloc_stats.cc @@ -20,10 +20,6 @@ namespace rocksdb { #ifdef ROCKSDB_JEMALLOC -#ifdef JEMALLOC_NO_RENAME -#define malloc_stats_print je_malloc_stats_print -#endif - typedef struct { char* cur; char* end; diff --git a/port/jemalloc_helper.h b/port/jemalloc_helper.h index 26e5fb6633..6aeb780ee6 100644 --- a/port/jemalloc_helper.h +++ b/port/jemalloc_helper.h @@ -9,6 +9,7 @@ #ifdef __FreeBSD__ #include #else +#define JEMALLOC_MANGLE #include #endif