2010-01-04 03:59:20 +08:00
|
|
|
/* Defined if __attribute__((...)) syntax is supported. */
|
|
|
|
#undef JEMALLOC_HAVE_ATTR
|
2009-07-01 07:17:05 +08:00
|
|
|
|
2012-03-03 09:47:37 +08:00
|
|
|
/* Support the experimental API. */
|
|
|
|
#undef JEMALLOC_EXPERIMENTAL
|
|
|
|
|
2013-12-06 13:43:46 +08:00
|
|
|
/*
|
2013-12-08 03:53:26 +08:00
|
|
|
* Define overrides for non-standard allocator-related functions if they are
|
|
|
|
* present on the system.
|
2013-12-06 13:43:46 +08:00
|
|
|
*/
|
|
|
|
#undef JEMALLOC_OVERRIDE_MEMALIGN
|
|
|
|
#undef JEMALLOC_OVERRIDE_VALLOC
|
|
|
|
|
2012-10-10 07:20:10 +08:00
|
|
|
/*
|
|
|
|
* At least Linux omits the "const" in:
|
|
|
|
*
|
|
|
|
* size_t malloc_usable_size(const void *ptr);
|
|
|
|
*
|
|
|
|
* Match the operating system's prototype.
|
|
|
|
*/
|
|
|
|
#undef JEMALLOC_USABLE_SIZE_CONST
|
2013-12-06 13:43:46 +08:00
|
|
|
|
|
|
|
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
|
|
|
#undef LG_SIZEOF_PTR
|
2013-12-14 07:07:43 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Name mangling for public symbols is controlled by --with-mangling and
|
|
|
|
* --with-jemalloc-prefix. With default settings the je_ prefix is stripped by
|
|
|
|
* these macro definitions.
|
|
|
|
*/
|
|
|
|
#ifndef JEMALLOC_NO_RENAME
|
|
|
|
# undef je_malloc_conf
|
|
|
|
# undef je_malloc_message
|
|
|
|
# undef je_malloc
|
|
|
|
# undef je_calloc
|
|
|
|
# undef je_posix_memalign
|
|
|
|
# undef je_aligned_alloc
|
|
|
|
# undef je_realloc
|
|
|
|
# undef je_free
|
|
|
|
# undef je_mallocx
|
|
|
|
# undef je_rallocx
|
|
|
|
# undef je_xallocx
|
|
|
|
# undef je_sallocx
|
|
|
|
# undef je_dallocx
|
|
|
|
# undef je_nallocx
|
|
|
|
# undef je_mallctl
|
|
|
|
# undef je_mallctlnametomib
|
|
|
|
# undef je_mallctlbymib
|
|
|
|
# undef je_malloc_stats_print
|
|
|
|
# undef je_malloc_usable_size
|
|
|
|
# undef je_memalign
|
|
|
|
# undef je_valloc
|
|
|
|
# undef je_allocm
|
|
|
|
# undef je_rallocm
|
|
|
|
# undef je_sallocm
|
|
|
|
# undef je_dallocm
|
|
|
|
# undef je_nallocm
|
|
|
|
#endif
|