Fix name mangling issues.

Move je_* definitions from jemalloc_macros.h.in to jemalloc_defs.h.in,
because only the latter is an autoconf header (#undef substitution
occurs).

Fix unit tests to use automatic mangling, so that e.g. mallocx is
macro-substituted to becom jet_mallocx.
This commit is contained in:
Jason Evans
2013-12-13 15:07:43 -08:00
parent d82a5e6a34
commit 3477991440
4 changed files with 37 additions and 36 deletions

View File

@@ -64,6 +64,7 @@
*/
#ifdef JEMALLOC_UNIT_TEST
# define JEMALLOC_JET
# define JEMALLOC_MANGLE
# include "jemalloc/internal/jemalloc_internal.h"
/******************************************************************************/